about summary refs log tree commit diff
path: root/ui-shared.h
diff options
context:
space:
mode:
authorLukas Fleischer <cgit@cryptocrack.de>2013-04-10 13:04:03 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2013-04-10 14:49:31 +0200
commit8c4c2c464b664228d4819af6ec1f8438af3c7c89 (patch)
tree446c5f5bee2ff0c6397f374dde1b7ec6e74d6924 /ui-shared.h
parentt0107: Skip ZIP tests if unzip(1) isn't available (diff)
downloadcgit-pink-8c4c2c464b664228d4819af6ec1f8438af3c7c89.tar.gz
cgit-pink-8c4c2c464b664228d4819af6ec1f8438af3c7c89.zip
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 '')
0 files changed, 0 insertions, 0 deletions