Re: [PATCH v2] contrib/subtree bugfix: Can't `add` annotated tag
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 13, 2014, 23:12 UTC
- Message-ID
- <xmqqy4y5l1c7.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <20140513230201.GA32562@debian>
James Denholm <nod.helm@gmail.com> 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