Diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Read the description file without repo.desc
Only a scanned repository fell back to its description file, so one listed in cgitrc without repo.desc showed "[no description]" however its file read. repo.desc may follow repo.path, so the file is read where a page shows the description, which also spares every other request the reads.
-rw-r--r--MANUAL.txt8
-rw-r--r--source/cgit.c1
-rw-r--r--source/cgit.h3
-rw-r--r--source/scan-tree.c15
-rw-r--r--source/shared.c21
-rw-r--r--source/shared.h8
-rw-r--r--source/ui-repolist.c5
-rwxr-xr-xtests/setup.sh3
-rwxr-xr-xtests/t0101-index.sh26
9 files changed, 71 insertions, 19 deletions