diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-07-15 08:45:49 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-07-15 08:45:49 +0200 |
commit | 633ce9a3ba973acf19a122e1359b7ae724887d70 (patch) | |
tree | d360db37cc2c4f64ed85eae77e03f2b98061c9b1 /git-rebase--interactive.sh | |
parent | bash completion: Remove dashed command completion support (diff) | |
parent | Documentation: mention ORIG_HEAD in am, merge, and rebase (diff) | |
download | git-633ce9a3ba973acf19a122e1359b7ae724887d70.tar.xz git-633ce9a3ba973acf19a122e1359b7ae724887d70.zip |
Merge branch 'jc/rebase-orig-head'
* jc/rebase-orig-head:
Documentation: mention ORIG_HEAD in am, merge, and rebase
Teach "am" and "rebase" to mark the original position with ORIG_HEAD
Diffstat (limited to 'git-rebase--interactive.sh')
-rwxr-xr-x | git-rebase--interactive.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/git-rebase--interactive.sh b/git-rebase--interactive.sh index 3d85486c88..a35212d9de 100755 --- a/git-rebase--interactive.sh +++ b/git-rebase--interactive.sh @@ -574,6 +574,7 @@ EOF has_action "$TODO" || die_abort "Nothing to do" + git update-ref ORIG_HEAD $HEAD output git checkout $ONTO && do_rest ;; esac |