From: Junio C Hamano Date: Thu, 18 Aug 2016 17:27:45 GMT Subject: Re: git format-patch --break-rewrites broken in 2.9.3 Message-ID: In-Reply-To: Johannes Schindelin writes: > Hi Olaf, > >> --break-rewrites \ >> --keep-subject \ >> 95fa0405c5991726e06c08ffcd8ff872f7fb4f2d^..95fa0405c5991726e06c08ffcd8ff872f7fb4f2d >> >> What must be done now to get a usable patch? > > Maybe --no-renames? BTW this behavior was not introduced in 2.9.3, but in > 2.9.0: > > https://github.com/git/git/blob/v2.9.0/Documentation/RelNotes/2.9.0.txt#L7-L9 I think that is one half of the story. The other half is a long/well known bug that lets "diff -B -M" to produce incorrect/broken patch that cannot be applied. It was documented in the thread that begins at: public-inbox.org/git/xmqqfvapuhkk.fsf@gitster.dls.corp.google.com but still hasn't been solved.