Junio C Hamano [off-list ref] writes:
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.
The problem report actually starts here:
public-inbox.org/git/xmqqegqaahnh.fsf@gitster.dls.corp.google.com/