From: Jakub Narebski Date: Thu, 07 Oct 2010 10:05:07 GMT Subject: Re: format-patch on permission change gives empty patch Message-ID: In-Reply-To: Sverre Rabbelier writes: > On Thu, Oct 7, 2010 at 06:40, Junio C Hamano 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? Hmmm... doesn't rebase pipeline use "format-patch --rebasing" (where '--rebasing' is internal option deliberately left undocumented)? -- Jakub Narebski Poland ShadeHawk on #git