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

[PATCH 0/4] Build in some more things

From
Daniel Barkalow <barkalow@iabervon.org>
Date
Oct 30, 2007, 01:05 UTC
Message-ID
<Pine.LNX.4.64.0710292049450.7357@iabervon.org>

The main effect of this series is removing the fork/exec from pushing via the git protocol (aside from the later fork/exec in connect.c of course).

It also heads off some tempting transport-related fetch bugs, which I will not introduce in a later patch.

* Miscellaneous const changes and utilities
  Adds two small utility functions, and marks a bunch of stuff as const; 
  the const stuff is to keep builtin-fetch from getting messed up without 
  a warning, because it wants some lists not to change.
* Build-in peek-remote, using transport infrastructure.
* Build-in send-pack, with an API for other programs to call.
* Use built-in send-pack.
 Makefile                               |    4 ++-
 builtin-fetch.c                        |   10 +++---
 peek-remote.c => builtin-peek-remote.c |   55 +++++++++++++---------------
 send-pack.c => builtin-send-pack.c     |   46 ++++++++++++++++--------
 builtin.h                              |    2 +
 cache.h                                |    2 +-
 connect.c                              |   10 +++++-
 git.c                                  |    2 +
 http-push.c                            |    2 +-
 remote.c                               |   32 +++++++++++-----
 remote.h                               |   10 ++++--
 send-pack.h                            |   18 +++++++++
 transport.c                            |   63 +++++++++-----------------------
 transport.h                            |    6 ++--
 14 files changed, 146 insertions(+), 116 deletions(-)
	-Daniel
*This .sig left intentionally blank*
Next: Johannes Sixt
Message 1 of 5 in “Build in some more things”
  1. 0/4 Build in some more thingsDaniel Barkalow, Oct 30, 2007
  2. Johannes SixtOct 30, 2007
  3. Daniel BarkalowOct 30, 2007
  4. Junio C HamanoOct 30, 2007
  5. Daniel BarkalowOct 30, 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.