summaryrefslogtreecommitdiff
path: root/git-rebase--interactive.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2007-09-29 23:32:36 -0700
committerJunio C Hamano <gitster@pobox.com>2007-09-29 23:32:36 -0700
commit2af89f12c666634e92cd79a6c1af6acc34104c34 (patch)
tree6f5ccd286e8741b41d3384025e1df43194ff2feb /git-rebase--interactive.sh
parentf8babc4dabebebd9e95537df6da0408c1c178615 (diff)
parentf4bb20cc99fe18ba0e7dd421f1d95a05c1cbbc93 (diff)
downloadgit-2af89f12c666634e92cd79a6c1af6acc34104c34.tar.gz
Merge branch 'maint'
* maint: git-remote: exit with non-zero status after detecting errors. rebase -i: squash should retain the authorship of the _first_ commit git-add--interactive: Improve behavior on bogus input git-add--interactive: Allow Ctrl-D to exit
Diffstat (limited to 'git-rebase--interactive.sh')
-rwxr-xr-xgit-rebase--interactive.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-rebase--interactive.sh b/git-rebase--interactive.sh
index 8de5b794bf..8568a4fd42 100755
--- a/git-rebase--interactive.sh
+++ b/git-rebase--interactive.sh
@@ -276,9 +276,9 @@ do_next () {
esac
failed=f
+ author_script=$(get_author_ident_from_commit HEAD)
output git reset --soft HEAD^
pick_one -n $sha1 || failed=t
- author_script=$(get_author_ident_from_commit $sha1)
echo "$author_script" > "$DOTEST"/author-script
case $failed in
f)