Diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Keep a repository with an empty url ignored
The field resets at the end of cgit_add_repo cleared the ignore flag that the empty url branch had just set, so such a repository was listed on the index and selectable with ?r=, where every link to it read the byte before its url.
-rw-r--r--source/shared.c1
-rwxr-xr-xtests/t0303-robustness.sh7
2 files changed, 6 insertions, 2 deletions