aboutsummaryrefslogtreecommitdiff
path: root/setup.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2026-03-04 10:52:58 -0800
committerJunio C Hamano <gitster@pobox.com>2026-03-04 10:52:59 -0800
commit1d0a2acb78f157d39937a088548e561b27722e8d (patch)
tree4251f1f0f2a4ce4a6ee6f71e75d17d0bdbe4f948 /setup.h
parent50d063e335afd5828fbb9de2f2b2fb44fd884d2b (diff)
parent53592d68e86814fcc4a8df6cc38340597e56fe5a (diff)
downloadgit-1d0a2acb78f157d39937a088548e561b27722e8d.tar.xz
Merge branch 'kn/ref-location'
Allow the directory in which reference backends store their data to be specified. * kn/ref-location: refs: add GIT_REFERENCE_BACKEND to specify reference backend refs: allow reference location in refstorage config refs: receive and use the reference storage payload refs: move out stub modification to generic layer refs: extract out `refs_create_refdir_stubs()` setup: don't modify repo in `create_reference_database()`
Diffstat (limited to 'setup.h')
-rw-r--r--setup.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/setup.h b/setup.h
index 0738dec244..bcb16b0b4a 100644
--- a/setup.h
+++ b/setup.h
@@ -172,6 +172,7 @@ struct repository_format {
int hash_algo;
int compat_hash_algo;
enum ref_storage_format ref_storage_format;
+ char *ref_storage_payload;
int sparse_index;
char *work_tree;
struct string_list unknown_extensions;
@@ -241,8 +242,7 @@ int init_db(const char *git_dir, const char *real_git_dir,
void initialize_repository_version(int hash_algo,
enum ref_storage_format ref_storage_format,
int reinit);
-void create_reference_database(enum ref_storage_format ref_storage_format,
- const char *initial_branch, int quiet);
+void create_reference_database(const char *initial_branch, int quiet);
/*
* NOTE NOTE NOTE!!