summaryrefslogtreecommitdiff
path: root/fetch-object.h
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 /fetch-object.h
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 'fetch-object.h')
-rw-r--r--fetch-object.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/fetch-object.h b/fetch-object.h
index 4b269d07ed..d2f996d4e8 100644
--- a/fetch-object.h
+++ b/fetch-object.h
@@ -1,11 +1,7 @@
#ifndef FETCH_OBJECT_H
#define FETCH_OBJECT_H
-#include "sha1-array.h"
-
-extern void fetch_object(const char *remote_name, const unsigned char *sha1);
-
-extern void fetch_objects(const char *remote_name,
- const struct oid_array *to_fetch);
+void fetch_objects(const char *remote_name, const struct object_id *oids,
+ int oid_nr);
#endif