Re: [PATCH] git-cvsimport: strip question-mark characters in tags
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 14, 2010, 14:29 UTC
- Message-ID
- <7vfx2yqf9s.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <20100414133831.GA12135@f.santiago.vpn.redhat.com>
Ed Santiago <santiago@redhat.com> writes:
> Question mark character appears to be valid in a CVS tag, > but not a git one. Remove it. Leave open the possibility that there may > be more such characters; and comment (FIXME) that we may want to replace > those instead of removing them.
I agree that people may want to optionally replace them to avoid mapping two originally different tags into the same one.
Does your regexp chain check other invalid refname sequences, such as ".name", "na..me", etc.?
> Also: if git tag command fails, do not include $! in our > error message: it is not useful after system(), and will > only serve as a red herring. > ---
Sign-off?