summaryrefslogtreecommitdiff
path: root/sha1-file.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-11-21 22:57:45 +0900
committerJunio C Hamano <gitster@pobox.com>2018-11-21 22:57:46 +0900
commit2e168d77020f9d448c768bf0fb72f14021d13a99 (patch)
tree1ec1f45046b5f669df5ad982c57660851c968dd0 /sha1-file.c
parent8ecf0c83829dab253e190db918e4ede07f0143ef (diff)
parente68302011c902961bc55db5eec9b9e32acd114ca (diff)
Merge branch 'jt/lazy-object-fetch-fix' into maint
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sha1-file.c b/sha1-file.c
index 97b7423848..2edf4564f6 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;
}