Diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Hold a scanned defbranch to a ref name
The index stats the default branch below the repository to date it, and a scanned repository sets its own defbranch, which was not held to what a ref may hold, so one spelled as a path reached a file outside.
-rw-r--r--source/ui-repolist.c4
-rwxr-xr-xtests/t0303-robustness.sh11
2 files changed, 14 insertions, 1 deletion