Junio C Hamano wrote:
> [...]
> You can't go any simpler than that rule, and there is no room for
> confusion if that rule is properly implemented.

In other words: the sequence "@" is short for "HEAD".  Isn't that
_exactly_ what I implemented in my two-liner?

However, I'm tilting towards respecting .git/@ as a manual override.
Why?  Because we'd have to either claim that git symbolic-ref @ HEAD
is a noop, or deny it altogether (by saying that @ is not a valid
symbolic ref).  The latter approach obviously sounds more sensible,
but I don't like unnecessarily eating up @.
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to