Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'vr/rebase-autosquash-does-not-imply-i'
author
Junio C Hamano
<gitster@pobox.com>
Fri, 1 Jun 2012 20:28:01 +0000
(13:28 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Fri, 1 Jun 2012 20:28:01 +0000
(13:28 -0700)
"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
git-rebase.sh
patch
|
blob
|
history
raw
(from parent 1:
7a824d3
)
diff --git
a/git-rebase.sh
b/git-rebase.sh
index 24a2840033c175ff5399de82a1a777c75c0e85dd..9148ec25c1c865f28a84e64ae67c85dca28f1eaf 100755
(executable)
--- 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
}