Skip to content

Commit

Permalink
Merge branch 'vr/rebase-autosquash-does-not-imply-i'
Browse files Browse the repository at this point in the history
"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
  • Loading branch information
Junio C Hamano committed Jun 1, 2012
2 parents 7a824d3 + 8a6dae1 commit 4336b53
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions git-rebase.sh
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ run_specific_rebase () {
if [ "$interactive_rebase" = implied ]; then
GIT_EDITOR=:
export GIT_EDITOR
autosquash=
fi
. git-rebase--$type
}
Expand Down

0 comments on commit 4336b53

Please sign in to comment.