diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2011-08-04 06:36:13 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-08-04 15:53:15 -0700 |
commit | d42453ab1a482df0fdb428c20de1189a21a2bee1 (patch) | |
tree | ccc4a5786dac71f7804576ba93ef1f9e11d83d6e /attr.c | |
parent | 650cfc512e189c1af347c9eeaebc0377e0dcb88d (diff) | |
download | git-d42453ab1a482df0fdb428c20de1189a21a2bee1.tar.gz |
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>
Diffstat (limited to 'attr.c')
-rw-r--r-- | attr.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -50,10 +50,8 @@ static unsigned hash_name(const char *name, int namelen) static int invalid_attr_name(const char *name, int namelen) { /* - * Attribute name cannot begin with '-' and from - * [-A-Za-z0-9_.]. We'd specifically exclude '=' for now, - * as we might later want to allow non-binary value for - * attributes, e.g. "*.svg merge=special-merge-program-for-svg" + * Attribute name cannot begin with '-' and must consist of + * characters from [-A-Za-z0-9_.]. */ if (*name == '-') return -1; |