Diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Read a negative ref count as no limit
summary-branches, summary-tags and max-ref-count already listed every ref at 0, but a negative value reached qsort as a count and crashed the summary and refs pages, and emptied the branch switcher.
-rw-r--r--MANUAL.txt8
-rw-r--r--custom/cgitrc10
-rw-r--r--source/ui-refs.c6
-rw-r--r--source/ui-shared.c2
-rwxr-xr-xtests/t0204-limits.sh20
5 files changed, 33 insertions, 13 deletions