Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'repository.h')
-rw-r--r--repository.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/repository.h b/repository.h
index 0a1db9633f..8ae5e8653a 100644
--- a/repository.h
+++ b/repository.h
@@ -1,6 +1,8 @@
#ifndef REPOSITORY_H
#define REPOSITORY_H
+struct config_set;
+
struct repository {
/* Environment */
/*
@@ -39,6 +41,14 @@ struct repository {
*/
char *worktree;
+ /* Subsystems */
+ /*
+ * Repository's config which contains key-value pairs from the usual
+ * set of config files (i.e. repo specific .git/config, user wide
+ * ~/.gitconfig, XDG config file and the global /etc/gitconfig)
+ */
+ struct config_set *config;
+
/* Configurations */
/*
* Bit used during initialization to indicate if repository state (like