From: Johannes Schindelin Date: Tue, 03 Jul 2007 12:35:44 GMT Subject: Re: being nice to patch(1) Message-ID: In-Reply-To: <4d8e3fd30707030521k6cb3129dy9193344e9e1eccf7@mail.gmail.com> Hi, On Tue, 3 Jul 2007, Paolo Ciarrocchi wrote: > On 7/3/07, Johannes Schindelin wrote: > > Hi, > > On Mon, 2 Jul 2007, Linus Torvalds wrote: > > > On Mon, 2 Jul 2007, Junio C Hamano wrote: > > > > Linus Torvalds 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!) > > How about shipping just these commands as a separate package? > Is that a cray idea? Heh, all three programs are "builtins", which means that you get almost the whole package of git anyway ;-) Ciao, Dscho