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

Re: cc/cherry-pick-ff (Re: What's cooking in git.git (Mar 2010, #04; Tue, 16))

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 17, 2010, 17:01 UTC
Message-ID
<7vwrxaubjy.fsf@alter.siamese.dyndns.org>
In-Reply-To
<20100317095218.GA6961@progeny.tock>
Jonathan Nieder <jrnieder@gmail.com> writes:
> For what it’s worth, I am not convinced about the --no-ff option.  I do
> not think --ff ever will be the default: for an operation that amounts
> to applying a patch and making a new commit, it just feels wrong.

Same here ;-) and because of that, --no-ff as an undocumented feature feels doubly wrong to me. If some scripts use it, people would wonder what that no-op option is doing there. Perhaps we should discard the bits about --no-ff to make it more clear that --ff is an oddball case that is meant only for supporting what "rebase-i" (and other tools that reinvent and enhance it) does.

For the same reasoning, you may have liked the "do not fast-forward the early part of 'rebase -i' even if the commits are picked literally" patch, by Marc.

Previous: Jonathan NiederNext: Christian Couder
Message 3 of 8 in “What's cooking in git.git (Mar 2010, #04; Tue, 16)”
  1. Junio C HamanoMar 17, 2010
  2. cc/cherry-pick-ff (Re: What's cooking in git.git (Mar 2010, #04; Tue, 16))Jonathan Nieder, Mar 17, 2010
  3. Junio C HamanoMar 17, 2010
  4. Christian CouderMar 18, 2010
  5. Paolo BonziniMar 18, 2010
  6. Junio C HamanoMar 20, 2010
  7. Jonathan NiederMar 20, 2010
  8. Christian CouderMar 22, 2010

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.