summaryrefslogtreecommitdiff
path: root/builtin-fetch-pack.c
diff options
context:
space:
mode:
authorNicolas Pitre <nico@cam.org>2007-11-07 22:20:22 (GMT)
committerJunio C Hamano <gitster@pobox.com>2007-11-08 00:19:07 (GMT)
commit3891f390eafa4bec95088f16f8f481553c535b78 (patch)
tree7fefed3b250c04a02a822216eae662605edadd52 /builtin-fetch-pack.c
parentfe61935007b6803ce116e233316e4ff51de02be6 (diff)
downloadgit-3891f390eafa4bec95088f16f8f481553c535b78.zip
git-3891f390eafa4bec95088f16f8f481553c535b78.tar.gz
git-3891f390eafa4bec95088f16f8f481553c535b78.tar.bz2
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>
Diffstat (limited to 'builtin-fetch-pack.c')
-rw-r--r--builtin-fetch-pack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin-fetch-pack.c b/builtin-fetch-pack.c
index 862652b..bb1742f 100644
--- a/builtin-fetch-pack.c
+++ b/builtin-fetch-pack.c
@@ -32,7 +32,7 @@ static const char fetch_pack_usage[] =
#define MAX_IN_VAIN 256
static struct commit_list *rev_list;
-static int non_common_revs, multi_ack, use_thin_pack, use_sideband;
+static int non_common_revs, multi_ack, use_sideband;
static void rev_list_push(struct commit *commit, int mark)
{
@@ -178,7 +178,7 @@ static int find_common(int fd[2], unsigned char *result_sha1,
(multi_ack ? " multi_ack" : ""),
(use_sideband == 2 ? " side-band-64k" : ""),
(use_sideband == 1 ? " side-band" : ""),
- (use_thin_pack ? " thin-pack" : ""),
+ (args.use_thin_pack ? " thin-pack" : ""),
(args.no_progress ? " no-progress" : ""),
" ofs-delta");
else