Skip to content

Commit 4336b53

Browse files
committed
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
2 parents 7a824d3 + 8a6dae1 commit 4336b53

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

git-rebase.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ run_specific_rebase () {
167167
if [ "$interactive_rebase" = implied ]; then
168168
GIT_EDITOR=:
169169
export GIT_EDITOR
170+
autosquash=
170171
fi
171172
. git-rebase--$type
172173
}

0 commit comments

Comments
 (0)