author | Michael J Gruber <git@drmicha.warpmail.net> | |
Thu, 26 Feb 2009 09:52:53 +0000 (10:52 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 27 Feb 2009 07:06:27 +0000 (23:06 -0800) | ||
commit | c767184d8f99404d456b32a2c6c5c41d6db7a847 | |
tree | 7799df4bddbc19b84121fb512a21d79d8e0bbe6e | tree | snapshot |
parent | 2591838beece01f98773109a7c6932525be2d144 | commit | diff |
git-am: Keep index in case of abort with dirty index
git am --abort resets the index unconditionally. But in case a previous
git am exited due to a dirty index it is preferable to keep that index.
Make it so.
Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git am --abort resets the index unconditionally. But in case a previous
git am exited due to a dirty index it is preferable to keep that index.
Make it so.
Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-am.sh | diff | blob | history |