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

Re: [PATCH] docs/format-patch: mention handling of merges

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 23, 2021, 01:24 UTC
Message-ID
<xmqqblcb60fz.fsf@gitster.g>
In-Reply-To
<YDRA6RJdnFne2EBw@coredump.intra.peff.net>
Jeff King <peff@peff.net> writes:
> That seems worse to me, because "it is impossible" implies that this
> can never be changed. But I don't think that's true. We might one day
> output something useful for merges.
Fair enough.  You are more optimistic than I am ;-)
> I think one could argue that any merge information (including conflict
> resolution) works against the root notion of format-patch, which is a
> set of changes that can be applied on a range of basesa.
That's true and it was the primary motive for omiting merges.
> But even that I
> would be hesitant to commit to (since --base exists now).

I am not quite sure what --base has to throw into the equation. The information --base gives is often useful when I want to learn where the patches were taken from, but that does not restrict where the patches are actually applied to in any meaningful way (iow, "on a range of bases" part is not affected).

Previous: Jeff KingNext: Jeff King
Message 6 of 10 in “git format-patch lost the last part when branch merge”
  1. Wang YuguiFeb 22, 2021
  2. Jeff KingFeb 22, 2021
  3. docs/format-patch: mention handling of mergesJeff King, Feb 22, 2021
  4. Junio C HamanoFeb 22, 2021
  5. Jeff KingFeb 22, 2021
  6. Junio C HamanoFeb 23, 2021
  7. Jeff KingFeb 23, 2021
  8. Junio C HamanoFeb 22, 2021
  9. Elijah NewrenFeb 24, 2021
  10. Jeff KingFeb 24, 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.