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

[PATCH/RFC 1/2] pull: pass the --no-ff-only flag through to merge, not fetch

From
Samuel Bronson <naesten@gmail.com>
Date
Dec 1, 2011, 01:38 UTC
Message-ID
<1322703537-3914-1-git-send-email-naesten@gmail.com>

Without this, pull becomes unusable for merging branches when the config option `merge.ff` is set to `only`.

Signed-off-by: Samuel Bronson <naesten@gmail.com>
---
 git-pull.sh |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/git-pull.sh b/git-pull.sh
index 9868a0b..a09fcbc 100755
--- a/git-pull.sh
+++ b/git-pull.sh
@@ -76,6 +76,8 @@ do
 		no_ff=--no-ff ;;
 	--ff-only)
 		ff_only=--ff-only ;;
+	--no-ff-only)
+		ff_only=--no-ff-only ;;
 	-s=*|--s=*|--st=*|--str=*|--stra=*|--strat=*|--strate=*|\
 		--strateg=*|--strategy=*|\
 	-s|--s|--st|--str|--stra|--strat|--strate|--strateg|--strategy)
-- 
1.7.7.3
Next: Samuel Bronson
Message 1 of 6 in “pull: pass the --no-ff-only flag through to merge, not fetch”
  1. 1/2 pull: pass the --no-ff-only flag through to merge, not fetchSamuel Bronson, Dec 1, 2011
  2. 2/2 merge, pull: Document the --no-ff-only merge optionSamuel Bronson, Dec 1, 2011
  3. Junio C HamanoDec 1, 2011
  4. Samuel BronsonDec 1, 2011
  5. Junio C HamanoDec 1, 2011
  6. Samuel BronsonDec 1, 2011

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.