git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: Andreas Ericsson <ae@op5.se>
Cc: Mike Hommey <mh@glandium.org>, git@vger.kernel.org
Subject: Re: [PATCH 2/2] Add support for URLs to git-apply
Date: Sun, 09 Dec 2007 14:54:58 -0800	[thread overview]
Message-ID: <7vhciro4vx.fsf@gitster.siamese.dyndns.org> (raw)
In-Reply-To: <475C5869.4080900@op5.se> (Andreas Ericsson's message of "Sun, 09 Dec 2007 22:04:41 +0100")

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.

Note that I said my "initial" impression.  I reserve the right to change
my mind, as always ;-)

  reply	other threads:[~2007-12-09 22:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-09 10:04 [PATCH 1/2] Move the file read logic to read_patch_file() in builtin-apply.c Mike Hommey
2007-12-09 10:04 ` [PATCH 2/2] Add support for URLs to git-apply Mike Hommey
2007-12-09 17:02   ` Mike Hommey
2007-12-09 21:04   ` Andreas Ericsson
2007-12-09 22:54     ` Junio C Hamano [this message]
2007-12-10  6:46       ` Mike Hommey
2007-12-10 11:16         ` Johannes Schindelin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7vhciro4vx.fsf@gitster.siamese.dyndns.org \
    --to=gitster@pobox.com \
    --cc=ae@op5.se \
    --cc=git@vger.kernel.org \
    --cc=mh@glandium.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).