Re: [PATCH] symref support for import scripts
- From
Junio C Hamano <junkio@cox.net>
- Date
- Nov 16, 2005, 20:26 UTC
- Message-ID
- <7v8xvo730d.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <20051116195737.GE27727@kiste.smurf.noris.de>
Matthias Urlichs <smurf@smurf.noris.de> writes:
> The only thing we want to do with HEAD, in order to accomplish that, > is to find the SHA1 it points to, before and after the import. > No use of git-symbolic-ref is necessary for that.
True. 'git-rev-parse --verify HEAD^0' would be sufficient.