Johannes Schindelin <Johannes.Schindelin@gmx.de> writes: > + /* do not allow "HEAD" as ref name */ > + if (ch == 'H' && (!strcmp(cp, "EAD") || > + !strncmp(cp, "EAD/", 4))) Why forbid HEAD in the middle, like "refs/heads/HEAD/frotz"? Confusion avoidance? We might want to forbid anything that matches /^.*_?HEAD$/ to catch ORIG_HEAD for example, though. - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.htmlReceived on Fri Dec 16 06:35:08 2005
This archive was generated by hypermail 2.1.8 : 2005-12-16 06:35:18 EST