diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2009-10-30 17:47:40 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-11-04 17:58:15 -0800 |
commit | 97cc7bc45c2e076184b84749952b216036a6ecd6 (patch) | |
tree | 99d871d15ad3f545461b12ef64f1d5b577537515 /sideband.c | |
parent | f5ba2d18f96037749f370c1386935e60f034c87e (diff) | |
download | git-97cc7bc45c2e076184b84749952b216036a6ecd6.tar.gz |
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 'sideband.c')
0 files changed, 0 insertions, 0 deletions