about summary refs log tree commit diff
path: root/contrib/hooks/post-receive.agefile
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@lfos.de>2016-05-24 18:15:18 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2016-07-05 16:14:40 +0200
commit9984e7ab49c59e49a0d7e62c3435e7133f7a53ec (patch)
tree1f3a53622746e5fe43e9d5c7c9bc27ab2da22761 /contrib/hooks/post-receive.agefile
parentgit: update to v2.9.0 (diff)
downloadcgit-pink-9984e7ab49c59e49a0d7e62c3435e7133f7a53ec.tar.gz
cgit-pink-9984e7ab49c59e49a0d7e62c3435e7133f7a53ec.zip
Avoid ambiguities when prettifying snapshot names
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>
Diffstat (limited to 'contrib/hooks/post-receive.agefile')
0 files changed, 0 insertions, 0 deletions