summaryrefslogtreecommitdiff
path: root/read-cache.c
diff options
context:
space:
mode:
authorLibravatar Shawn O. Pearce <spearce@spearce.org>2009-10-30 17:47:40 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-11-04 17:58:15 -0800
commit97cc7bc45c2e076184b84749952b216036a6ecd6 (patch)
tree99d871d15ad3f545461b12ef64f1d5b577537515 /read-cache.c
parenthttp-backend: more explict LocationMatch (diff)
downloadtgif-97cc7bc45c2e076184b84749952b216036a6ecd6.tar.xz
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 'read-cache.c')
0 files changed, 0 insertions, 0 deletions