Re: Why doesn't git-apply remove empty file
- From
- Francis Moreau <francis.moro@gmail.com>
- Date
- Aug 14, 2008, 19:42 UTC
- Message-ID
- <38b2ab8a0808141242k4bd6867dt8ef54f160713061f@mail.gmail.com>
- In-Reply-To
- <alpine.LFD.1.10.0808131602200.3462@nehalem.linux-foundation.org>
On Thu, Aug 14, 2008 at 1:09 AM, Linus Torvalds <torvalds@linux-foundation.org> 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