Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH] bisect: Store first bad commit as comment in log file

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:56:50

Torstein Hegge [off-list ref] writes:
I was wondering why "git grep show-ref *.sh" gave so few users. It looks
like rev-parse is more common.
It is primarily because show-ref is slightly newer.  When you have a
full refname (e.g. refs/bisect/bad) and not an arbitrary object name
that is spelled in a random way (e.g. master~24):

       show-ref --verify refs/bisect/bad

is a perfectly valid way to make sure it _is_ an existing ref.

Cf. 358ddb62cfd0 (Add "git show-ref" builtin command, 2006-09-15)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help