git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 2/2] Add support for URLs to git-apply

From
Mike Hommey <mh@glandium.org>
Date
Dec 9, 2007, 17:02 UTC
Message-ID
<20071209170250.GA18955@glandium.org>
In-Reply-To
<1197194672-28568-2-git-send-email-mh@glandium.org>
On Sun, Dec 09, 2007 at 11:04:32AM +0100, Mike Hommey wrote:
Show 11 quoted lines
> Instead of doing several "wget -O - url | git-apply -" in a raw, you now
> can just git-apply url1 url2 ...
> 
> Signed-off-by: Mike Hommey <mh@glandium.org>
> ---
> 
> After spending an afternoon wgetting patches to applying them, I got fed up
> and just added basic url support to git-apply. Note that the fwrite_strbuf
> function should just live in http.c, but until the http api is fully switched
> to use strbufs instead of its struct buffer (which I'm planning to do), it
> can stay like this.

I'm going to resend these 2 patches, with some others that do some changes to the http code.

Mike
Previous: Mike HommeyNext: Andreas Ericsson
Message 3 of 7 in “Move the file read logic to read_patch_file() in builtin-apply.c”
  1. 1/2 Move the file read logic to read_patch_file() in builtin-apply.cMike Hommey, Dec 9, 2007
  2. 2/2 Add support for URLs to git-applyMike Hommey, Dec 9, 2007
  3. Mike HommeyDec 9, 2007
  4. Andreas EricssonDec 9, 2007
  5. Junio C HamanoDec 9, 2007
  6. Mike HommeyDec 10, 2007
  7. Johannes SchindelinDec 10, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.