Change fetch_pack() and friends to take string_list arguments
commit8bee93dd24731a1d2ef7c82d484a893cf68b6572
authorMichael Haggerty <mhagger@alum.mit.edu>
Sun, 9 Sep 2012 06:19:40 +0000 (9 08:19 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 12 Sep 2012 18:46:31 +0000 (12 11:46 -0700)
treeb05bc4a6c12ba038300c7b5b58927df02346a9c0
parent63c694534bbe93a188ed74396a1a3ace0b24d6ad
Change fetch_pack() and friends to take string_list arguments

Instead of juggling <nr_heads,heads> (sometimes called
<nr_match,match>), pass around the list of references to be sought in
a single string_list variable called "sought".  Future commits will
make more use of string_list functionality.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/fetch-pack.c
fetch-pack.h
transport.c