Re: [PATCH 04/19] Disallow the empty string as an attribute name
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jul 27, 2011, 20:20 UTC
- Message-ID
- <7vlivjo479.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <1311689582-3116-5-git-send-email-mhagger@alum.mit.edu>
Michael Haggerty <mhagger@alum.mit.edu> writes:
> Previously, it was possible to have a line like "file.txt =foo" in a > .gitattribute file, after which an invocation like "git check-attr '' > -- file.txt" would succeed. This patch disallows both constructs.
Good. Very much appreciated.
> Currently it is possible to use the empty string as an attribute name.
Yeah, even I wouldn't call it a regression to disallow this ;-).