Re: [PATCH 04/19] Disallow the empty string as an attribute name
From: Junio C Hamano <hidden> Date: 2016-06-15 22:51:40
Michael Haggerty [off-list ref] 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 ;-).