git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Do not autosquash in case of an implied interactive rebase
@ 2012-05-24 13:52 Vincent van Ravesteijn
  2012-05-24 13:57 ` [PATCHv2] " Vincent van Ravesteijn
  0 siblings, 1 reply; 6+ messages in thread
From: Vincent van Ravesteijn @ 2012-05-24 13:52 UTC (permalink / raw)
  To: git; +Cc: Vincent van Ravesteijn

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.
---
 git-rebase.sh |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/git-rebase.sh b/git-rebase.sh
index 24a2840..9148ec2 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
 }
-- 
1.7.9.msysgit.0

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-05-29 18:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-24 13:52 [PATCH] Do not autosquash in case of an implied interactive rebase Vincent van Ravesteijn
2012-05-24 13:57 ` [PATCHv2] " Vincent van Ravesteijn
2012-05-25 17:50   ` Junio C Hamano
2012-05-28  9:17     ` Vincent van Ravesteijn
2012-05-29 18:41       ` Junio C Hamano
2012-05-29 18:43       ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).