From: Francis Moreau Date: Thu, 14 Aug 2008 19:42:22 GMT Subject: Re: Why doesn't git-apply remove empty file Message-ID: <38b2ab8a0808141242k4bd6867dt8ef54f160713061f@mail.gmail.com> In-Reply-To: On Thu, Aug 14, 2008 at 1:09 AM, Linus Torvalds wrote: > and no, git never did that file date thing, so git acts differently from > GNU patch in this thing (as in so many others, for that matter). > Well patch(1) is so used out there that makes git-apply often do the wrong thing for such corner cases when applying a patch made by patch(1). Maybe git-apply would be more friendly regarding patch(1) if it has an option to emulate GNU patch for some situations. Or if this means adding too many quirks in git-apply code, maybe give the possibity for git-am to use patch(1) instead of git-apply. -- Francis