Stash away the original head in ORIG_HEAD when resetting.
commit32173e69881a35e4e7a53be3ba80091ae9fa8f35
authorJunio C Hamano <junkio@cox.net>
Sun, 7 Aug 2005 03:59:47 +0000 (6 20:59 -0700)
committerJunio C Hamano <junkio@cox.net>
Wed, 10 Aug 2005 06:38:49 +0000 (9 23:38 -0700)
treec9402158278e1ba219ee478337d2b2449eff21fe
parent045f82cbee3135a3d75256828b0cf101eedf38c8
Stash away the original head in ORIG_HEAD when resetting.

When rewinding the head, stash away the value of the original
HEAD in ORIG_HEAD, just like git-resolve-script does.

Signed-off-by: Junio C Hamano <junkio@cox.net>
git-reset-script