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

Re: format-patch on permission change gives empty patch

From
Jakub Narebski <jnareb@gmail.com>
Date
Oct 7, 2010, 10:05 UTC
Message-ID
<m3eic2fher.fsf@localhost.localdomain>
In-Reply-To
<AANLkTimA4jrDXmfJp2em34fj6b1sj9kdEyZ_xPTzqcEN@mail.gmail.com>
Sverre Rabbelier <srabbelier@gmail.com> writes:
> On Thu, Oct 7, 2010 at 06:40, Junio C Hamano <gitster@pobox.com> wrote:
Show 9 quoted lines
> >  (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?

Hmmm... doesn't rebase pipeline use "format-patch --rebasing" (where '--rebasing' is internal option deliberately left undocumented)?

-- 
Jakub Narebski
Poland
ShadeHawk on #git
Previous: Sverre RabbelierNext: Sverre Rabbelier
Message 6 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.