summaryrefslogtreecommitdiffstats
path: root/repo-settings.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-09-12 13:30:04 +0200
committerJunio C Hamano <gitster@pobox.com>2024-09-12 19:15:42 +0200
commita0d09c56ba6c2e9fc07a19531e29c43f83c445f7 (patch)
tree1e39ea5d80a26bb2bf9c0f26ced180f41b8dc6a5 /repo-settings.c
parentenvironment: guard state depending on a repository (diff)
downloadgit-a0d09c56ba6c2e9fc07a19531e29c43f83c445f7.tar.xz
git-a0d09c56ba6c2e9fc07a19531e29c43f83c445f7.zip
repo-settings: split out declarations into a standalone header
While we have "repo-settings.c", we do not have a corresponding "repo-settings.h" file. Instead, this functionality is part of the "repository.h" header, making it hard to discover. Split the declarations out of "repository.h" and create a standalone header file with them. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'repo-settings.c')
-rw-r--r--repo-settings.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/repo-settings.c b/repo-settings.c
index 2b4e68731b..6165546e80 100644
--- a/repo-settings.c
+++ b/repo-settings.c
@@ -1,5 +1,6 @@
#include "git-compat-util.h"
#include "config.h"
+#include "repo-settings.h"
#include "repository.h"
#include "midx.h"