]> gitweb.ps.run Git - ps-cgit/commitdiff
ui-snapshot.c: Prepend "V" when guessing ref names
authorLukas Fleischer <cgit@cryptocrack.de>
Wed, 10 Apr 2013 11:04:03 +0000 (13:04 +0200)
committerJason A. Donenfeld <Jason@zx2c4.com>
Wed, 10 Apr 2013 12:49:31 +0000 (14:49 +0200)
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>

No differences found