summaryrefslogtreecommitdiff
path: root/transport.c
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2009-10-31 00:47:40 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-11-05 01:58:15 (GMT)
commit97cc7bc45c2e076184b84749952b216036a6ecd6 (patch)
tree99d871d15ad3f545461b12ef64f1d5b577537515 /transport.c
parentf5ba2d18f96037749f370c1386935e60f034c87e (diff)
downloadgit-97cc7bc45c2e076184b84749952b216036a6ecd6.zip
git-97cc7bc45c2e076184b84749952b216036a6ecd6.tar.gz
git-97cc7bc45c2e076184b84749952b216036a6ecd6.tar.bz2
Discover refs via smart HTTP server when available
Instead of loading the cached info/refs, try to use the smart HTTP version when the server supports it. Since the smart variant is actually the pkt-line stream from the start of either upload-pack or receive-pack we need to parse these through get_remote_heads, which requires a background thread to feed its pipe. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> CC: Daniel Barkalow <barkalow@iabervon.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'transport.c')
0 files changed, 0 insertions, 0 deletions