(repo *gogit.Repository)
| 18 | } |
| 19 | |
| 20 | func newGoGitLocalConfig(repo *gogit.Repository) *goGitConfig { |
| 21 | return &goGitConfig{ |
| 22 | ConfigRead: &goGitConfigReader{getConfig: repo.Config}, |
| 23 | ConfigWrite: &goGitConfigWriter{repo: repo}, |
| 24 | } |
| 25 | } |
| 26 | |
| 27 | func newGoGitGlobalConfig() *goGitConfig { |
| 28 | // TODO: replace that with go-git native implementation once it's supported |