From: Linus Torvalds Date: Sat, 04 Oct 2008 17:08:58 GMT Subject: Re: git apply: git diff header lacks filename information for git diff --no-index patch Message-ID: In-Reply-To: On Sat, 4 Oct 2008, Linus Torvalds wrote: > > Anyway, for now I'd suggest a patch like this. Hmm? The "diff --git" > format assumes that the names are the same, so make it so. Ahh, never mind, this one is broken. It's not _horribly_ so, but I shouldhave checked the test breakage. It changes non-broken cases from diff --git a/file b/file into diff --git a/file a/file so the header thing would need to be done differently. Don't even bother with that broken patch. I'll think about doing it better. Linus