Diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Date repositories from HEAD and guard its branch
The index derived a repository's age from refs/heads/master alone, so a repository on any other default branch showed no age. HEAD is repo-controlled and the age stat walks under refs/heads, so a branch name carrying a parent-directory component is rejected.
-rw-r--r--source/ui-repolist.c29
1 file changed, 27 insertions, 2 deletions