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

Re: [PATCH] pull: add --hard mode

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 21, 2026, 01:09 UTC
Message-ID
<xmqqa4qgth35.fsf@gitster.g>
In-Reply-To
<2b9cc581-7c8e-4cb3-9524-2b466209ac7e@antmicro.com>
Artur Bieniek <abieniek@antmicro.com> writes:
> One case where --ff-only does not seem to cover that audience is when 
> the upstream branch itself is rewritten.
It does, doesn't it?  

It is not like you want to always blindly follow them. Rewound upstream is w warning-worthy event that the user should be notified rather loudly, I would expect.

Previous: Junio C Hamano
Message 9 of 9 in “pull: add --hard mode”
  1. pull: add --hard modeArtur Bieniek via GitGitGadget, Aug 18, 2026
  2. Junio C HamanoAug 18, 2026
  3. Phillip WoodAug 20, 2026
  4. Junio C HamanoAug 20, 2026
  5. Artur BieniekAug 20, 2026
  6. Kristoffer HaugsbakkAug 20, 2026
  7. Artur BieniekAug 24, 2026
  8. Junio C HamanoAug 24, 2026
  9. Junio C HamanoAug 21, 2026

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.