]>
Commit | Line | Data |
---|---|---|
bb742ede VM |
1 | /* |
2 | * Copyright (C) 2009-2011 the libgit2 contributors | |
3 | * | |
4 | * This file is part of libgit2, distributed under the GNU GPL v2 with | |
5 | * a Linking Exception. For full terms see the included COPYING file. | |
6 | */ | |
6d7bb4e0 CMN |
7 | #ifndef INCLUDE_config_h__ |
8 | #define INCLUDE_config_h__ | |
9 | ||
c0335005 | 10 | #include "git2.h" |
6d7bb4e0 | 11 | #include "git2/config.h" |
c0335005 | 12 | #include "vector.h" |
44daec42 | 13 | #include "repository.h" |
6b45cb8a | 14 | |
8adbf2ed | 15 | #define GIT_CONFIG_FILENAME ".gitconfig" |
b22d1479 | 16 | #define GIT_CONFIG_FILENAME_INREPO "config" |
01ad7b3a | 17 | #define GIT_CONFIG_FILE_MODE 0666 |
8adbf2ed | 18 | |
5d4cd003 | 19 | struct git_config { |
b0b527e0 | 20 | git_vector files; |
44daec42 | 21 | git_repository *repo; |
5d4cd003 CMN |
22 | }; |
23 | ||
24 | #endif |