]> git.ipfire.org Git - thirdparty/git.git/commit - git-cvsimport.perl
cvsimport: strip all inappropriate tag strings
authorKen Dreyer <ktdreyer@ktdreyer.com>
Thu, 6 Sep 2012 16:36:53 +0000 (10:36 -0600)
committerJunio C Hamano <gitster@pobox.com>
Thu, 6 Sep 2012 17:40:09 +0000 (10:40 -0700)
commit70b67b0792375c59f60f3e24f2d6757b24dc719c
treec5f79fee27a3f357b11cd287d2a36acf0d7d4004
parent3fc0e4ca00330ce1dfd92baeda04f0aa2fbd7e68
cvsimport: strip all inappropriate tag strings

Certain characters such as "?" can be present in a CVS tag name, but
git does not allow these characters in tags. If git-cvsimport
encounters a CVS tag that git cannot handle, cvsimport will error and
refuse to continue the import beyond that point.

When importing CVS tags, strip all the inappropriate strings from the
tag names as we translate them to git tag names.

Provide more debugging information to the user if we've altered the
tag and the "git tag" command still fails. Also, warn the user if we
end up skipping an (unusable) tag altogether.

Signed-off-by: Ken Dreyer <ktdreyer@ktdreyer.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-cvsimport.perl