diff options
author | Michael Muré <batolettre@gmail.com> | 2020-09-27 20:31:09 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2020-09-29 20:42:21 +0200 |
commit | eb88f0e4463ea1aef5494314fa2a9607aaa262dd (patch) | |
tree | e1c74172f72c9fd39a7694fedd51c5529dbcdbf8 /repository/gogit.go | |
parent | 4f172432b1fb983c57aa258a93e24cbb36c8e1fb (diff) | |
download | git-bug-eb88f0e4463ea1aef5494314fa2a9607aaa262dd.tar.gz |
repo: more config related bug fixes
Diffstat (limited to 'repository/gogit.go')
-rw-r--r-- | repository/gogit.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/repository/gogit.go b/repository/gogit.go index f248235c..684f8a72 100644 --- a/repository/gogit.go +++ b/repository/gogit.go @@ -160,7 +160,7 @@ func InitBareGoGitRepo(path string) (*GoGitRepo, error) { // LocalConfig give access to the repository scoped configuration func (repo *GoGitRepo) LocalConfig() Config { - return newGoGitConfig(repo.r) + return newGoGitLocalConfig(repo.r) } // GlobalConfig give access to the global scoped configuration @@ -168,7 +168,7 @@ func (repo *GoGitRepo) GlobalConfig() Config { // TODO: replace that with go-git native implementation once it's supported // see: https://github.com/go-git/go-git // see: https://github.com/src-d/go-git/issues/760 - return newGitConfig(gitCli{repo.path}, true) + return newGoGitGlobalConfig(repo.r) } // AnyConfig give access to a merged local/global configuration |