]> gitweb.ps.run Git - ps-cgit/commitdiff
Avoid ambiguities when prettifying snapshot names
authorLukas Fleischer <lfleischer@lfos.de>
Tue, 24 May 2016 16:15:18 +0000 (18:15 +0200)
committerJason A. Donenfeld <Jason@zx2c4.com>
Tue, 5 Jul 2016 14:14:40 +0000 (16:14 +0200)
When composing snapshot file names for a tag with a prefix of the form
v[0-9] (resp. V[0-9]), the leading "v" (resp. "V") is stripped. This
leads to conflicts if a tag with the stripped name already exists or if
there are tags only differing in the capitalization of the leading "v".
Make sure we do not strip the "v" in these cases.

Reported-by: Juuso Lapinlampi <wub@partyvan.eu>
Signed-off-by: Lukas Fleischer <lfleischer@lfos.de>

No differences found