From: Junio C Hamano Date: Wed, 15 Jan 2014 07:46:58 GMT Subject: Re: BUG: check-ref-format and rev-parse can not handle branches with an @ in their name combined with @{u} Message-ID: <7v1u091ybx.fsf@alter.siamese.dyndns.org> In-Reply-To: <20140115050003.GA27237@sigill.intra.peff.net> Jeff King writes: > Is that what "--branch" does? I have never used it, but the manpage > seems to suggest it is about _parsing_ (which, IMHO, means it probably > should have been an option to rev-parse, but that is another issue > altogether). Ahh, of course you are right. I never use it, and somehow thought it was just prepending refs/heads/ to its arguments, but it seems to want to do a lot more than that.