diff options
Diffstat (limited to 'repository.h')
-rw-r--r-- | repository.h | 10 |
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 |