Re: git-check-ref-format returns 1 for valid branch names
- From
Junio C Hamano <junkio@cox.net>
- Date
- Mar 22, 2007, 20:32 UTC
- Message-ID
- <7vejnht3x2.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <dbfc82860703221324k48690833g6731ef75562839d6@mail.gmail.com>
"Nikolai Weibull" <now@bitwi.se> writes:
Show 7 quoted lines
> I'm obviously doing something wrong, but in git 1.5.0.4 > > % git check-ref-format abc > % echo $? > 1 > > What am I missing here?
If you are trying to see if abc is a valid branch name, try refs/heads/abc.