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

Re: pull.rebase config vs. --ff-only on command line

From
Felipe Contreras <felipe.contreras@gmail.com>
Date
Jul 22, 2021, 22:09 UTC
Message-ID
<60f9eca348290_678a208fb@natae.notmuch>
In-Reply-To
<xmqq7dhi9nxv.fsf@gitster.g>
Junio C Hamano wrote:
> Matthias Baumgarten <matthias.baumgarten@aixigo.com> writes:
> >  * git -c pull.ff=only pull --merge, force a merge commit
> 
> This would fast-forward if it can or otherwise create a merge.
> Unlike "pull --no-ff", this should not "force" a merge commit.

Today people rely on this doing a fast-forward-only merge (with --no-rebase).

Changing this would break existing behavior they rely on.
It's not hypothetical [1].
[1] https://www.reddit.com/r/git/comments/omcngl/do_you_use_both_pullff_and_pullrebase/
-- 
Felipe Contreras
Previous: Junio C HamanoNext: Matthias Baumgarten
Message 9 of 11 in “pull.rebase config vs. --ff-only on command line”
  1. Matthias BaumgartenJul 16, 2021
  2. Elijah NewrenJul 16, 2021
  3. Felipe ContrerasJul 16, 2021
  4. Matthias BaumgartenJul 16, 2021
  5. Felipe ContrerasJul 16, 2021
  6. Matthias BaumgartenJul 19, 2021
  7. Felipe ContrerasJul 19, 2021
  8. Junio C HamanoJul 22, 2021
  9. Felipe ContrerasJul 22, 2021
  10. Matthias BaumgartenJul 23, 2021
  11. Felipe ContrerasJul 16, 2021

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.