commit | 97cc7bc45c2e076184b84749952b216036a6ecd6 | [log] [tgz] |
---|---|---|
author | Shawn O. Pearce <spearce@spearce.org> | Fri Oct 30 17:47:40 2009 -0700 |
committer | Junio C Hamano <gitster@pobox.com> | Wed Nov 04 17:58:15 2009 -0800 |
tree | 99d871d15ad3f545461b12ef64f1d5b577537515 | |
parent | f5ba2d18f96037749f370c1386935e60f034c87e [diff] |
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>