Do not autosquash in case of an implied interactive rebase

The option to autosquash is only used in case of an interactive rebase.
When merges are preserved, rebase uses an interactive rebase internally,
but in this case autosquash should still be disabled.

Signed-off-by: Vincent van Ravesteijn <>
Signed-off-by: Junio C Hamano <>
diff --git a/ b/
index 03f73da..ede9723 100755
--- a/
+++ b/
@@ -165,6 +165,7 @@
 	if [ "$interactive_rebase" = implied ]; then
 		export GIT_EDITOR
+		autosquash=
 	. git-rebase--$type