Diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Lead a snapshot name to its tag ahead of a branch
The refs listing offers a tag's snapshot under the stem of its name, and the lookup back from that name settled on whatever ref matched first, so a branch spelled like the stem was archived in the tag's place.
-rw-r--r--source/ui-snapshot.c87
-rwxr-xr-xtests/t0110-snapshot.sh9
2 files changed, 65 insertions, 31 deletions