mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-08 14:02:48 +00:00

Configurations when taken from a repository and remotes should be identifiable as coming from a particular repository. This allows us to reduce the amount of variables that the user has to keep track of. Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
18 lines
302 B
C
18 lines
302 B
C
#ifndef INCLUDE_config_h__
|
|
#define INCLUDE_config_h__
|
|
|
|
#include "git2.h"
|
|
#include "git2/config.h"
|
|
#include "vector.h"
|
|
#include "repository.h"
|
|
|
|
#define GIT_CONFIG_FILENAME ".gitconfig"
|
|
#define GIT_CONFIG_FILENAME_INREPO "config"
|
|
|
|
struct git_config {
|
|
git_vector files;
|
|
git_repository *repo;
|
|
};
|
|
|
|
#endif
|