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 /fetch-object.h | |
| 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 'fetch-object.h')
| -rw-r--r-- | fetch-object.h | 8 |
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 |
