mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-11 04:28:26 +00:00

This function puts the global and repository configurations in one git_config object and gives it to the user. Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
16 lines
255 B
C
16 lines
255 B
C
#ifndef INCLUDE_config_h__
|
|
#define INCLUDE_config_h__
|
|
|
|
#include "git2.h"
|
|
#include "git2/config.h"
|
|
#include "vector.h"
|
|
|
|
#define GIT_CONFIG_FILENAME ".gitconfig"
|
|
#define GIT_CONFIG_FILENAME_INREPO "config"
|
|
|
|
struct git_config {
|
|
git_vector files;
|
|
};
|
|
|
|
#endif
|