]> git.ipfire.org Git - thirdparty/git.git/commit - git-cvsserver.perl
cvsserver: define a tag name character escape mechanism
authorMatthew Ogilvie <mmogilvi_git@miniinfo.net>
Sun, 14 Oct 2012 05:42:26 +0000 (23:42 -0600)
committerJunio C Hamano <gitster@pobox.com>
Tue, 16 Oct 2012 23:17:51 +0000 (16:17 -0700)
commit51a7e6dbc9b871ddfd73752e1a1b254e38e4336b
tree9b9842004de67e7fca3790cc0f480bc69ee24527
parent1899cbc5b2e2cb3e7c98cceed818d8adfb242ec2
cvsserver: define a tag name character escape mechanism

CVS tags are officially only allowed to use [-_0-9A-Za-f].  Git
refs commonly uses other characters, especially [./].  Such characters
need to be escaped from CVS in order to be referenced.

This just defines functions to escape/unescape names.  The functions
are not used yet.

Signed-off-by: Matthew Ogilvie <mmogilvi_git@miniinfo.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-cvsserver.perl