summaryrefslogtreecommitdiff
path: root/refs.h
diff options
context:
space:
mode:
Diffstat (limited to 'refs.h')
-rw-r--r--refs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/refs.h b/refs.h
index 01be5ae..0d01337 100644
--- a/refs.h
+++ b/refs.h
@@ -758,7 +758,9 @@ int reflog_expire(const char *refname, const struct object_id *oid,
int ref_storage_backend_exists(const char *name);
-struct ref_store *get_main_ref_store(void);
+#define get_main_ref_store(r) \
+ get_main_ref_store_##r()
+struct ref_store *get_main_ref_store_the_repository(void);
/*
* Return the ref_store instance for the specified submodule. For the
* main repository, use submodule==NULL; such a call cannot fail. For