Re: being nice to patch(1)
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jul 3, 2007, 12:04 UTC
- Message-ID
- <Pine.LNX.4.64.0707031303130.4071@racer.site>
- In-Reply-To
- <alpine.LFD.0.98.0707022114000.9434@woody.linux-foundation.org>
Hi,
On Mon, 2 Jul 2007, Linus Torvalds wrote:
Show 17 quoted lines
> On Mon, 2 Jul 2007, Junio C Hamano wrote: > > Linus Torvalds <torvalds@linux-foundation.org> writes: > > > > > So I would suggest that in quilt and other systems, you either: > > > > > > - strip all headers manually > > > > > > - forget about "patch", and use "git-apply" instead that does things > > > right and doesn't screw up like this (and can do rename diffs etc too). > > > > > > I guess the second choice generally isn't an option, but dammit, > > > "git-apply" really is the better program here. > > > > Why not? git-apply works outside of a git repo ;-) > > I was more thinking that people are not necessarily willing to install git > just to get the "git-apply" program..
But maybe they would be willing to install git to get that wonderful git-apply program, and that wonderful rename-and-mode-aware git-diff, and the git-merge-file program, all of which can operate outside of a git repository. (Take that, hg!)
Ciao, Dscho