git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] Do not autosquash in case of an implied interactive rebase

From
Vincent van Ravesteijn <vfr@lyx.org>
Date
May 24, 2012, 13:52 UTC
Message-ID
<1337867575-7212-1-git-send-email-vfr@lyx.org>
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
Next: Vincent van Ravesteijn
Message 1 of 6 in “Do not autosquash in case of an implied interactive rebase”
  1. Do not autosquash in case of an implied interactive rebaseVincent van Ravesteijn, May 24, 2012
  2. [PATCHv2] Do not autosquash in case of an implied interactive rebaseVincent van Ravesteijn, May 24, 2012
  3. Junio C HamanoMay 25, 2012
  4. Vincent van RavesteijnMay 28, 2012
  5. Junio C HamanoMay 29, 2012
  6. Junio C HamanoMay 29, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.