diff options
author | Stefan Beller <sbeller@google.com> | 2018-03-23 18:21:07 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-03-26 19:05:55 +0200 |
commit | 0b2090340544caaabb378706a6ed3853dd617a6f (patch) | |
tree | c9c8650962609841279e6b6350eecbb25de90cb4 /object-store.h | |
parent | sha1_file: add repository argument to link_alt_odb_entries (diff) | |
download | git-0b2090340544caaabb378706a6ed3853dd617a6f.tar.xz git-0b2090340544caaabb378706a6ed3853dd617a6f.zip |
sha1_file: add repository argument to prepare_alt_odb
See previous patch for explanation.
Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'object-store.h')
-rw-r--r-- | object-store.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/object-store.h b/object-store.h index b53e125902..79de470639 100644 --- a/object-store.h +++ b/object-store.h @@ -20,7 +20,8 @@ struct alternate_object_database { char path[FLEX_ARRAY]; }; -void prepare_alt_odb(void); +#define prepare_alt_odb(r) prepare_alt_odb_##r() +void prepare_alt_odb_the_repository(void); char *compute_alternate_path(const char *path, struct strbuf *err); typedef int alt_odb_fn(struct alternate_object_database *, void *); int foreach_alt_odb(alt_odb_fn, void*); |