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

[PATCH/RFC 2/2] merge, pull: Document the --no-ff-only merge option

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

Now that --no-ff-only will work with pull and not just with merge, we should probably tell the users about it.

Signed-off-by: Samuel Bronson <naesten@gmail.com>
---
 Documentation/merge-options.txt |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/Documentation/merge-options.txt b/Documentation/merge-options.txt
index 6bd0b04..2adc4f5 100644
--- a/Documentation/merge-options.txt
+++ b/Documentation/merge-options.txt
@@ -56,9 +56,13 @@ With --no-squash perform the merge and commit the result. This
 option can be used to override --squash.
 
 --ff-only::
+--no-ff-only::
 	Refuse to merge and exit with a non-zero status unless the
 	current `HEAD` is already up-to-date or the merge can be
 	resolved as a fast-forward.
++
+With --no-ff-only, don't refuse. This is can be used to override
+--ff-only, or the "`only`" value for the `merge.ff` configuration option.
 
 -s <strategy>::
 --strategy=<strategy>::
-- 
1.7.7.3
Previous: Samuel BronsonNext: Junio C Hamano
Message 2 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.