author | Nick Hengeveld <nickh@reactrix.com> | |
Wed, 8 Mar 2006 00:13:20 +0000 (16:13 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 8 Mar 2006 01:03:21 +0000 (17:03 -0800) | ||
commit | aa1dbc9897822c8acb284b35c40da60f3debca91 | |
tree | f5f07c3dd967e052ed35446bb7bba9fa5f922408 | tree | snapshot |
parent | a541211ef4136eb7464c4466d20b60b8580efc44 | commit | diff |
Update http-push functionality
This brings http-push functionality more in line with the ssh/git version,
by borrowing bits from send-pack and rev-list to process refspecs and
revision history in more standard ways. Also, the status of remote objects
is determined using PROPFIND requests for the object directory rather than
HEAD requests for each object - while it may be less efficient for small
numbers of objects, this approach is able to get the status of all remote
loose objects in a maximum of 256 requests.
Signed-off-by: Junio C Hamano <junkio@cox.net>
This brings http-push functionality more in line with the ssh/git version,
by borrowing bits from send-pack and rev-list to process refspecs and
revision history in more standard ways. Also, the status of remote objects
is determined using PROPFIND requests for the object directory rather than
HEAD requests for each object - while it may be less efficient for small
numbers of objects, this approach is able to get the status of all remote
loose objects in a maximum of 256 requests.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Makefile | diff | blob | history | |
http-push.c | diff | blob | history |