Re: Patches generated by "git format-patch -M -B" can't be applied with "git apply"?
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 14, 2015, 22:32 UTC
- Message-ID
- <xmqqh9mwvdgu.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <CAPF-yOb4dRWGLmL==x8=ifvU4Znsut9XQWMLPxBCPq7TzgJ84A@mail.gmail.com>
Yes, "diff -M -B" is known to be problematic, unfortunately. It incorrectly creates an irreversible patch under certain conditions.
http://thread.gmane.org/gmane.linux.kernel/1879635