From: Junio C Hamano Date: Mon, 15 Apr 2013 15:00:41 GMT Subject: Re: [PATCH] bisect: Store first bad commit as comment in log file Message-ID: <7vwqs3zvmu.fsf@alter.siamese.dyndns.org> In-Reply-To: <20130415095339.GA28480@pvv.ntnu.no> Torstein Hegge 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)