Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/blob.h
diff options
context:
space:
mode:
authorStefan Beller <sbeller@google.com>2018-06-29 04:22:08 +0300
committerJunio C Hamano <gitster@pobox.com>2018-06-29 20:43:39 +0300
commit17126cdf78dc7b8cbe6b35bc44cb74d8d0fb11ee (patch)
tree4a37e8c81a018c81a7f7bba180eb2e904686131c /blob.h
parent94c09a7197cde15587318dbb60cdc591d443f45c (diff)
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.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/blob.h b/blob.h
index 08bc34487a..1664872055 100644
--- a/blob.h
+++ b/blob.h
@@ -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);