Subject: Re: [PATCH v2] contrib/subtree bugfix: Can't `add` annotated tag

From: Junio C Hamano <[email-masked]>
Date: Tue, 13 May 2014 16:12:56 -0700

James Denholm <[email-masked]> writes:

> I'm not sure that can actually happen - peel_committish is essentially
> implemented as `rev-parse $arg^0` (though with a bit of bling, of
> course), and to my understanding FETCH_HEAD will always parse to a
> committish - I could have missed something, of course.

 $ git fetch git://repo.or.cz/alt-git junio-gpg-pub
 $ git rev-parse FETCH_HEAD^0