summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-06-01 13:28:01 -0700
committerJunio C Hamano <gitster@pobox.com>2012-06-01 13:28:01 -0700
commit4336b53c66bf6b1de061ef38c5d281544261dc3e (patch)
tree3980ddb3216b70bf72286f652e8f22f50aa4d747
parent7a824d3c463c87b75f17baa0c6ff8d4b8c6bdafb (diff)
parent8a6dae108eadbd2882296981e03fd8e251d42f56 (diff)
downloadgit-4336b53c66bf6b1de061ef38c5d281544261dc3e.tar.gz
Merge branch 'vr/rebase-autosquash-does-not-imply-i'
"git rebase -p" used to pay attention to rebase.autosquash which was wrong. "git rebase -p -i" should, but "git rebase -p" by itself should not. By Vincent van Ravesteijn * vr/rebase-autosquash-does-not-imply-i: Do not autosquash in case of an implied interactive rebase
-rwxr-xr-xgit-rebase.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/git-rebase.sh b/git-rebase.sh
index 24a2840033..9148ec25c1 100755
--- a/git-rebase.sh
+++ b/git-rebase.sh
@@ -167,6 +167,7 @@ run_specific_rebase () {
if [ "$interactive_rebase" = implied ]; then
GIT_EDITOR=:
export GIT_EDITOR
+ autosquash=
fi
. git-rebase--$type
}