diff options
author | Jonathan Tan <jonathantanmy@google.com> | 2021-10-09 00:08:14 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-10-09 01:06:05 +0300 |
commit | 34224e14d6b50cb04430188332362e6a0327e5ed (patch) | |
tree | d5a67a9029c464284d01ef8bba1bf7b2251e9509 /refs/packed-backend.h | |
parent | b6b210c5e1705c28274ac2e83a500644c126dd9a (diff) |
refs: plumb repo into ref stores
In preparation for the next 2 patches that adds (partial) support for
arbitrary repositories to ref iterators, plumb a repository into all ref
stores. There are no changes to program logic.
Signed-off-by: Jonathan Tan <jonathantanmy@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs/packed-backend.h')
-rw-r--r-- | refs/packed-backend.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/refs/packed-backend.h b/refs/packed-backend.h index a01a0aff9c..f61a73ec25 100644 --- a/refs/packed-backend.h +++ b/refs/packed-backend.h @@ -1,6 +1,7 @@ #ifndef REFS_PACKED_BACKEND_H #define REFS_PACKED_BACKEND_H +struct repository; struct ref_transaction; /* @@ -12,7 +13,8 @@ struct ref_transaction; * even among packed refs. */ -struct ref_store *packed_ref_store_create(const char *path, +struct ref_store *packed_ref_store_create(struct repository *repo, + const char *path, unsigned int store_flags); /* |