restore fetching with thin-pack capability
Broken since commit fa74052922cf39e5a39ad7178d1b13c2da9b4519. Signed-off-by: Nicolas Pitre <nico@cam.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Nicolas Pitre committed
Nov 7, 2007 at 17:20 UTC
3891f390eafa4bec95088f16f8f481553c535b78
1 file changed
+2
-2
builtin-fetch-pack.c
+2
-2
@@ -32,7 +32,7 @@ static const char fetch_pack_usage[] =
32
#define MAX_IN_VAIN 256
33
34
static struct commit_list *rev_list;
35
-static int non_common_revs, multi_ack, use_thin_pack, use_sideband;
35
+static int non_common_revs, multi_ack, use_sideband;
36
37
static void rev_list_push(struct commit *commit, int mark)
38
{
@@ -178,7 +178,7 @@ static int find_common(int fd[2], unsigned char *result_sha1,
178
(multi_ack ? " multi_ack" : ""),
179
(use_sideband == 2 ? " side-band-64k" : ""),
180
(use_sideband == 1 ? " side-band" : ""),
181
- (use_thin_pack ? " thin-pack" : ""),
181
+ (args.use_thin_pack ? " thin-pack" : ""),
182
(args.no_progress ? " no-progress" : ""),
183
" ofs-delta");
184
else