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

[PATCH 0/3 v3] Make git builtins not link against libcurl

From
Daniel Barkalow <barkalow@iabervon.org>
Date
Jul 31, 2009, 05:26 UTC
Message-ID
<alpine.LNX.2.00.0907310054570.2147@iabervon.org>

This series makes the main git executable not link against libcurl, which greatly improves performance of running large numbers of simple git commands on systems where libcurl in turn links against complex libraries.

This version makes the helper program interface more extensible, allowing it to not support the native-object "fetch" command, and requiring it to support a "capabilities" command that the transport code can call to find out what is supported.

It also makes the transport code call git-remote-<method> for suitable URL methods; future work could make transport.c not have to know about particular helpers at all, although this requires futher infrastructure beyond the scope of this series to do without regressing useability.

I believe it addresses all of the review comments, except for those pertaining to future directions; I believe this version supports extensibility in the relevant ways, so the details are outside the scope of this series.

Daniel Barkalow (3):
  Add support for external programs for handling native fetches
  Use an external program to implement fetching with curl
Linus Torvalds (1):
  git-http-fetch: not a builtin
 Documentation/git-remote-helpers.txt |   72 +++++++++++++++
 Makefile                             |   16 +++-
 git.c                                |    3 -
 builtin-http-fetch.c => http-fetch.c |    5 +-
 remote-curl.c                        |  139 ++++++++++++++++++++++++++++
 transport-helper.c                   |  168 ++++++++++++++++++++++++++++++++++
 transport.c                          |  136 +---------------------------
 transport.h                          |    3 +
 8 files changed, 399 insertions(+), 143 deletions(-)
 create mode 100644 Documentation/git-remote-helpers.txt
 rename builtin-http-fetch.c => http-fetch.c (95%)
 create mode 100644 remote-curl.c
 create mode 100644 transport-helper.c
Next: Junio C Hamano
Message 1 of 2 in “Make git builtins not link against libcurl”
  1. 0/3 Make git builtins not link against libcurlDaniel Barkalow, Jul 31, 2009
  2. Junio C HamanoJul 31, 2009

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.