Diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Link snapshots of a slash ref by a dashed name
The snapshot page refuses to work a revision out of a name holding a slash, since that name becomes the top directory of the archive, so every link for a ref like release/2.0 answered 404. The ref now goes in the link as the id, and the archive unpacks into the repository's own prefix, as any snapshot asked for by id does.
-rw-r--r--MANUAL.txt5
-rw-r--r--source/ui-shared.c31
-rwxr-xr-xtests/t0110-snapshot.sh19
3 files changed, 49 insertions, 6 deletions