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 /sha1-file.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 'sha1-file.c')
-rw-r--r-- | sha1-file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sha1-file.c b/sha1-file.c index d85f4e93e1..a4367b8f04 100644 --- a/sha1-file.c +++ b/sha1-file.c @@ -1317,7 +1317,7 @@ int oid_object_info_extended(struct repository *r, const struct object_id *oid, * TODO Pass a repository struct through fetch_object, * such that arbitrary repositories work. */ - fetch_object(repository_format_partial_clone, real->hash); + fetch_objects(repository_format_partial_clone, real, 1); already_retried = 1; continue; } |