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