Re: being nice to patch(1)
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jul 3, 2007, 12:35 UTC
- Message-ID
- <Pine.LNX.4.64.0707031334350.4071@racer.site>
- In-Reply-To
- <4d8e3fd30707030521k6cb3129dy9193344e9e1eccf7@mail.gmail.com>
Hi,
On Tue, 3 Jul 2007, Paolo Ciarrocchi wrote:
Show 30 quoted lines
> On 7/3/07, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote: > > Hi, > > On Mon, 2 Jul 2007, Linus Torvalds wrote: > > > 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!) > > 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