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

Re: Summary of the problems with git pull

From
PVPhilippe Vaucher <philippe.vaucher@gmail.com>
Date
May 28, 2014, 07:13 UTC
Message-ID
<CAGK7Mr4uucBN=17ph5pBjrz7yP60By1sERU9oBL+c2-gsMDmrw@mail.gmail.com>
In-Reply-To
<536de90320f06_239010732fc82@nysa.notmuch>
Show 17 quoted lines
> Felipe Contreras wrote:
>> == git update ==
>>
>> Another proposed solution is to have a new command: `git update`. This
>> command would be similar to `git pull --ff-only` by default, but it
>> could be configured to do merges instead, and when doing so in reverse.
>
> And here it is:
>
> https://github.com/felipec/git/commits/fc/update
>
> Here's the documentation:
>
> https://github.com/felipec/git/wiki/git-update
>
> Works exactly as expected: non-fast-forwards are rejected by default,
> but can be configured, and parents are reversed when merging.

I know patches from Felipe are sensitive subject and that a lot of people probably simply ignore him entirely, however I think this patch deserves more attention.

>From what I read, it seems to really improve the "pull" issues and is

more or less in line with what Junio suggested what should be done in [1]. So the goal of this mail is just to make sure people consider it for inclusion.

Sorry if I missed a thread where it was already decided not to include it.

Felipe, please don't use this to start any non-constructive behavior (rant on who is right/wrong, "my patches are not accepted", etc).

Philippe
[1] http://article.gmane.org/gmane.comp.version-control.git/248258
Previous: Felipe ContrerasNext: Felipe Contreras
Message 5 of 6 in “Summary of the problems with git pull”
  1. Felipe ContrerasMay 5, 2014
  2. Damien RobertMay 6, 2014
  3. Ping YinMay 7, 2014
  4. Felipe ContrerasMay 10, 2014
  5. Philippe VaucherMay 28, 2014
  6. Felipe ContrerasMay 28, 2014

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.