diff options
author | Stefan Beller <sbeller@google.com> | 2018-06-29 03:22:08 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-06-29 19:43:39 +0200 |
commit | 17126cdf78dc7b8cbe6b35bc44cb74d8d0fb11ee (patch) | |
tree | 4a37e8c81a018c81a7f7bba180eb2e904686131c /blob.h | |
parent | object: allow lookup_object to handle arbitrary repositories (diff) | |
download | git-17126cdf78dc7b8cbe6b35bc44cb74d8d0fb11ee.tar.xz git-17126cdf78dc7b8cbe6b35bc44cb74d8d0fb11ee.zip |
blob: allow lookup_blob to handle arbitrary repositories
Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'blob.h')
-rw-r--r-- | blob.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -9,8 +9,7 @@ struct blob { struct object object; }; -#define lookup_blob(r, o) lookup_blob_##r(o) -struct blob *lookup_blob_the_repository(const struct object_id *oid); +struct blob *lookup_blob(struct repository *r, const struct object_id *oid); int parse_blob_buffer(struct blob *item, void *buffer, unsigned long size); |