diff options
author | Lukas Fleischer <cgit@cryptocrack.de> | 2013-04-10 13:04:03 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2013-04-10 14:49:31 +0200 |
commit | 8c4c2c464b664228d4819af6ec1f8438af3c7c89 (patch) | |
tree | 446c5f5bee2ff0c6397f374dde1b7ec6e74d6924 /tests/t0106-diff.sh | |
parent | 81bf4d32b377d3f2fdd7ab3ca651be99408f5c32 (diff) | |
download | cgit-8c4c2c464b664228d4819af6ec1f8438af3c7c89.tar.gz cgit-8c4c2c464b664228d4819af6ec1f8438af3c7c89.tar.xz |
ui-snapshot.c: Prepend "V" when guessing ref names
In cgit_print_snapshot_links() we strip leading "v" and "V", while we
currently only prepend a lower case "v" when parsing a snapshot file
name. This results in broken snapshot links for tags that start with an
upper case "V". Avoid this by prepending a "V" as a fallback.
Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
Diffstat (limited to 'tests/t0106-diff.sh')
0 files changed, 0 insertions, 0 deletions