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

[PATCH 0/2] More transport API improvements

From
JTJonathan Tan <jonathantanmy@google.com>
Date
Dec 14, 2017, 21:44 UTC
Message-ID
<cover.1513287544.git.jonathantanmy@google.com>
Note that this is built on jt/transport-no-more-rsync.

I have found the transport mechanism relatively complicated, so here is some more effort in the hope of making it more readily understood.

Patch 1 is probably good to go in as-is.

Patch 2 is a modification of the transport API by making certain variables in the transport interface struct more private, and might need more discussion. I also discuss the possible future work that this modification makes possible.

Jonathan Tan (2):
  clone, fetch: remove redundant transport check
  transport: make transport vtable more private
 builtin/clone.c      |  3 ---
 builtin/fetch.c      |  3 ---
 transport-helper.c   | 23 +++++++++++-------
 transport-internal.h | 61 ++++++++++++++++++++++++++++++++++++++++++++++
 transport.c          | 69 ++++++++++++++++++++++++++++++++--------------------
 transport.h          | 54 ++--------------------------------------
 6 files changed, 120 insertions(+), 93 deletions(-)
 create mode 100644 transport-internal.h
-- 
2.15.1.504.g5279b80103-goog
Next: Jonathan Tan
Message 1 of 5 in “More transport API improvements”
  1. 0/2 More transport API improvementsJonathan Tan, Dec 14, 2017
  2. 2/2 transport: make transport vtable more privateJonathan Tan, Dec 14, 2017
  3. Junio C HamanoDec 14, 2017
  4. 1/2 clone, fetch: remove redundant transport checkJonathan Tan, Dec 14, 2017
  5. Junio C HamanoDec 14, 2017

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.