Junio C Hamano venit, vidit, dixit 12.05.2010 03:55:
Michael J Gruber [off-list ref] writes:
quoted
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