teach get_remote_heads to read from a memory buffer
commit85edf4f58b5368e2f2acc4bce0d10e1ca9d6c879
authorJeff King <peff@peff.net>
Wed, 20 Feb 2013 20:06:45 +0000 (20 15:06 -0500)
committerJunio C Hamano <gitster@pobox.com>
Sun, 24 Feb 2013 08:17:38 +0000 (24 00:17 -0800)
tree8aebba6d7b9df301e6e9144eaf98ebda021424be
parent4981fe750b1fc58bfdf5b9ca9843f4f505b9bb4d
teach get_remote_heads to read from a memory buffer

Now that we can read packet data from memory as easily as a
descriptor, get_remote_heads can take either one as a
source. This will allow further refactoring in remote-curl.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/fetch-pack.c
builtin/send-pack.c
cache.h
connect.c
remote-curl.c
transport.c