Remove anachronism from comment

Setting attributes to arbitrary values ("attribute=value") is now supported, so it is no longer necessary for this comment to justify prohibiting '=' in an attribute name. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Michael Haggerty committed Aug 4, 2011 at 06:36 UTC d42453ab1a482df0fdb428c20de1189a21a2bee1
1 file changed +2 -4
attr.c
+2 -4
@@ -50,10 +50,8 @@ static unsigned hash_name(const char *name, int namelen)
50 static int invalid_attr_name(const char *name, int namelen)
51 {
52 /*
53 - * Attribute name cannot begin with '-' and from
54 - * [-A-Za-z0-9_.]. We'd specifically exclude '=' for now,
55 - * as we might later want to allow non-binary value for
56 - * attributes, e.g. "*.svg merge=special-merge-program-for-svg"
53 + * Attribute name cannot begin with '-' and must consist of
54 + * characters from [-A-Za-z0-9_.].
55 */
56 if (*name == '-')
57 return -1;