diff options
author | Michael Muré <batolettre@gmail.com> | 2020-07-28 12:56:46 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2020-09-29 20:42:21 +0200 |
commit | 3ecbf8db28105d147340b80d65a5a6d537233135 (patch) | |
tree | 9bda351f7d1d520fa0ae51b155792ffca3517a9d /cache/repo_cache_common.go | |
parent | b127481364176ac7ecb56c1604e1460251574859 (diff) | |
download | git-bug-3ecbf8db28105d147340b80d65a5a6d537233135.tar.gz |
bridge: store credentials in the Keyring instead of the git config
Diffstat (limited to 'cache/repo_cache_common.go')
-rw-r--r-- | cache/repo_cache_common.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cache/repo_cache_common.go b/cache/repo_cache_common.go index a931f2be..1e330a4a 100644 --- a/cache/repo_cache_common.go +++ b/cache/repo_cache_common.go @@ -20,9 +20,8 @@ func (c *RepoCache) LocalConfig() repository.Config { return c.repo.LocalConfig() } -// GlobalConfig give access to the git global configuration -func (c *RepoCache) GlobalConfig() repository.Config { - return c.repo.GlobalConfig() +func (c *RepoCache) Keyring() repository.Keyring { + return c.repo.Keyring() } // GetPath returns the path to the repo. |