Re: [PATCH 2/2] Add support for URLs to git-apply
- From
Mike Hommey <mh@glandium.org>
- Date
- Dec 10, 2007, 06:46 UTC
- Message-ID
- <20071210064659.GA4148@glandium.org>
- In-Reply-To
- <7vhciro4vx.fsf@gitster.siamese.dyndns.org>
On Sun, Dec 09, 2007 at 02:54:58PM -0800, Junio C Hamano wrote:
Show 14 quoted lines
> Andreas Ericsson <ae@op5.se> writes: > > > Mike Hommey wrote: > >> Instead of doing several "wget -O - url | git-apply -" in a raw, you now > >> can just git-apply url1 url2 ... > >> > > > > I seriously like this idea. Combined with gitweb (or cgit), it could be > > used as a cherry-pick from someone else's repo :) > > FWIW, my initial impression is that I seriously dislike this. It may be > good if the patch were to git-am, but when git-apply rejects an > inapplicable patch, there won't be nothing left for you to recover with > and you need to re-download the patch anyway.
There are some usecase differences between git-apply and git-am. Probably, this change would be good to have on both.
Mike