Re: [PATCH] clone: report check out for non-bare clones
- From
Michael J Gruber <git@drmicha.warpmail.net>
- Date
- May 12, 2010, 07:59 UTC
- Message-ID
- <4BEA5FE5.3060503@drmicha.warpmail.net>
- In-Reply-To
- <7vljbp994c.fsf@alter.siamese.dyndns.org>
Junio C Hamano venit, vidit, dixit 12.05.2010 03:55:
Show 6 quoted lines
> Michael J Gruber <git@drmicha.warpmail.net> writes:
>
>> In the case of a detached head, (null) is the branch name.
>
> I think that depends on your particular libc implementation that helpfully
> makes printf("%s", NULL) not to at least dump core.Sorry, I didn't know I can't rely on that. I'll change that if going this route (reporting check out) is desirable at all. Is it?
Michael