diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-09-24 10:30:52 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-09-24 10:30:52 -0700 |
commit | ee99ba7afbbe1c13b10e27f5f9d162f691682146 (patch) | |
tree | cedb1c3eba5f357d1479d4a99db260394e555e69 /unpack-trees.c | |
parent | 4af130af0cfcb88c82eb223d964d4aa94d1d55d5 (diff) | |
parent | e68302011c902961bc55db5eec9b9e32acd114ca (diff) | |
download | git-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.c | 2 |
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); } |