From: Daniel Barkalow <barkalow@iabervon.org>
To: Junio C Hamano <junkio@cox.net>
Cc: git@vger.kernel.org
Subject: [PATCH 0/4] Modularize http, commit-walker, http-fetch
Date: Sun, 22 Jul 2007 18:09:16 -0400 (EDT) [thread overview]
Message-ID: <Pine.LNX.4.64.0707221745440.29679@iabervon.org> (raw)
This series cleans up a whole lot of flow control and makes it possible to
extend commit-walkers and http (each individually) in more useful
directions.
Due to the limitations on what I can test, it could use a bunch more
testing before it goes in. In particular, http-push is completely
untested, and I haven't really beaten on USE_CURL_MULTI, although it
compiles each way.
The first patch just makes the http library code easier to work with.
The second patch turns the caller-provided global function for making
delayed requests into a callback in a chain.
The third patch (posted previously) removes obsolete commit-walkers.
The fourth patch (posted previously) reworks the commit-walker framework,
and makes http-fetch into a commit-walker implementation which can be used
from library code. It also turns http-fetch into a (trivial) builtin which
calls the walker code with the library walker.
Makefile | 37 ++----
builtin-http-fetch.c | 77 +++++++++++++
builtin.h | 1 +
fetch.h | 54 ---------
git.c | 3 +
http-push.c | 25 +---
http-fetch.c => http-walker.c | 245 +++++++++++++++++----------------------
http.c | 50 ++++++++
http.h | 7 +-
local-fetch.c | 254 -----------------------------------------
rsh.c | 83 -------------
rsh.h | 7 -
ssh-fetch.c | 166 ---------------------------
ssh-pull.c | 4 -
ssh-push.c | 4 -
ssh-upload.c | 143 -----------------------
fetch.c => walker.c | 83 +++++++-------
walker.h | 37 ++++++
18 files changed, 339 insertions(+), 941 deletions(-)
-Daniel
*This .sig left intentionally blank*
next reply other threads:[~2007-07-22 22:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-22 22:09 Daniel Barkalow [this message]
2007-07-22 22:14 ` [PATCH 0/4] Modularize http, commit-walker, http-fetch Daniel Barkalow
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=Pine.LNX.4.64.0707221745440.29679@iabervon.org \
--to=barkalow@iabervon.org \
--cc=git@vger.kernel.org \
--cc=junkio@cox.net \
/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).