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

Re: override merge.ff = false using --ff-only

From
Yann Droneaud <ydroneaud@opteya.com>
Date
May 22, 2013, 13:36 UTC
Message-ID
<428ac6eff0b1a118a9b09f0835ab65b5@meuh.org>
In-Reply-To
<CAJELnLFqzVBd57vudsCFrTNMVxETO75GT5T5NO0sDMtgHZJU6g@mail.gmail.com>
Hi,
Le 22.05.2013 15:21, Matt McClure a écrit :
Show 14 quoted lines
> I naively tried to override merge.ff = false using --ff-only on the
> command line. I expected that it would override the configured 
> default
> and perform a fast-forward merge. Instead, it said:
>
>     $ git config -l | grep -F 'merge.ff'
>     merge.ff=false
>
>     $ git merge --ff-only foo
>     fatal: You cannot combine --no-ff with --ff-only.
>
> On the other hand, I see that --ff works just fine in the same 
> initial state.
>

You might want to read the following messages from thread "git merge <tag> behavior"

http://article.gmane.org/gmane.comp.version-control.git/218519 http://article.gmane.org/gmane.comp.version-control.git/218755 http://article.gmane.org/gmane.comp.version-control.git/218786

Regards.
-- 
Yann Droneaud
OPTEYA
Previous: Matt McClureNext: Junio C Hamano
Message 2 of 3 in “override merge.ff = false using --ff-only”
  1. Matt McClureMay 22, 2013
  2. Yann DroneaudMay 22, 2013
  3. Junio C HamanoMay 22, 2013

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.