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

Re: format-patch on permission change gives empty patch

From
Sverre Rabbelier <srabbelier@gmail.com>
Date
Oct 7, 2010, 08:15 UTC
Message-ID
<AANLkTimA4jrDXmfJp2em34fj6b1sj9kdEyZ_xPTzqcEN@mail.gmail.com>
In-Reply-To
<7vocb6y5sq.fsf@alter.siamese.dyndns.org>
Heya,
On Thu, Oct 7, 2010 at 06:40, Junio C Hamano <gitster@pobox.com> wrote:
>  (2) Treat "rebase" as a way to reproduce history faithfully, even an
>     unreasonable one.  We could teach "--allow-empty" to "am", and
>     rewrite the pipeline as "format-patch --always | am --allow-empty" to
>     implement it.

Wouldn't we then have to keep adding options for other corner cases? Perhaps a '--plumbing' flag that makes format-patch behave sanely (e.g., also do stuff like, turn off color and whatnot) and that makes 'git am' accept everything it knows how to understand?

-- 
Cheers,

Sverre Rabbelier
Previous: Junio C HamanoNext: Jakub Narebski
Message 5 of 9 in “format-patch on permission change gives empty patch”
  1. David MillerOct 7, 2010
  2. David MillerOct 7, 2010
  3. Junio C HamanoOct 7, 2010
  4. Junio C HamanoOct 7, 2010
  5. Sverre RabbelierOct 7, 2010
  6. Jakub NarebskiOct 7, 2010
  7. Sverre RabbelierOct 7, 2010
  8. Nicolas PitreOct 7, 2010
  9. Junio C HamanoOct 7, 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.