diff options
| author | Vicent Marti <tanoku@gmail.com> | 2011-06-18 02:08:56 +0200 |
|---|---|---|
| committer | Vicent Marti <tanoku@gmail.com> | 2011-06-18 02:08:56 +0200 |
| commit | 2a406ab51c33059f49a5a9105be07b3a1f8210f4 (patch) | |
| tree | 37abce7f1cb091a09565f8ee701f895227a22c1d /src/repository.c | |
| parent | 19cb6857a4fcdc6df5cc6385d94d66d3962b237d (diff) | |
| download | libgit2-2a406ab51c33059f49a5a9105be07b3a1f8210f4.tar.gz | |
config: Fix sorting of repository config files
Diffstat (limited to 'src/repository.c')
| -rw-r--r-- | src/repository.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/repository.c b/src/repository.c index bcf393263..1fef73907 100644 --- a/src/repository.c +++ b/src/repository.c @@ -287,7 +287,7 @@ int git_repository_config( return error; git__joinpath(config_path, repo->path_repository, GIT_CONFIG_FILENAME_INREPO); - error = git_config_add_file_ondisk(*out, config_path, 1); + error = git_config_add_file_ondisk(*out, config_path, 3); if (error < GIT_SUCCESS) goto cleanup; @@ -298,7 +298,7 @@ int git_repository_config( } if (system_config_path != NULL) { - error = git_config_add_file_ondisk(*out, system_config_path, 3); + error = git_config_add_file_ondisk(*out, system_config_path, 1); if (error < GIT_SUCCESS) goto cleanup; } |
