Re: git-check-ref-format returns 1 for valid branch names

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3/22/07, Junio C Hamano <junkio@xxxxxxx> wrote:
"Nikolai Weibull" <now@xxxxxxxx> writes:

> 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.

Thanks.  I just saw an example in git-checkout (where it's testing
"heads/$newbranch").

 nikolai
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]