summaryrefslogtreecommitdiff
path: root/unpack-trees.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-09-24 10:30:52 -0700
committerJunio C Hamano <gitster@pobox.com>2018-09-24 10:30:52 -0700
commitee99ba7afbbe1c13b10e27f5f9d162f691682146 (patch)
treecedb1c3eba5f357d1479d4a99db260394e555e69 /unpack-trees.c
parent4af130af0cfcb88c82eb223d964d4aa94d1d55d5 (diff)
parente68302011c902961bc55db5eec9b9e32acd114ca (diff)
downloadgit-ee99ba7afbbe1c13b10e27f5f9d162f691682146.tar.gz
Merge branch 'jt/lazy-object-fetch-fix'
The code to backfill objects in lazily cloned repository did not work correctly, which has been corrected. * jt/lazy-object-fetch-fix: fetch-object: set exact_oid when fetching fetch-object: unify fetch_object[s] functions
Diffstat (limited to 'unpack-trees.c')
-rw-r--r--unpack-trees.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unpack-trees.c b/unpack-trees.c
index 65f157b9de..51bfac6aa0 100644
--- a/unpack-trees.c
+++ b/unpack-trees.c
@@ -436,7 +436,7 @@ static int check_updates(struct unpack_trees_options *o)
}
if (to_fetch.nr)
fetch_objects(repository_format_partial_clone,
- &to_fetch);
+ to_fetch.oid, to_fetch.nr);
fetch_if_missing = fetch_if_missing_store;
oid_array_clear(&to_fetch);
}