aboutsummaryrefslogtreecommitdiffstats
path: root/repository/git.go
diff options
context:
space:
mode:
authoramine <hilalyamine@gmail.com>2019-10-31 19:05:50 +0100
committeramine <hilalyamine@gmail.com>2019-10-31 19:05:50 +0100
commit7f177c4750b4acf70cc3fd3d43c19685179e527b (patch)
treeb3a896099d508c679f736ecf32dc70039149fe11 /repository/git.go
parentab935674a26f2eef5d8014c615b9b5bc1f402135 (diff)
downloadgit-bug-7f177c4750b4acf70cc3fd3d43c19685179e527b.tar.gz
repository: add ReadTimestamp methods and improve naming
Diffstat (limited to 'repository/git.go')
-rw-r--r--repository/git.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/repository/git.go b/repository/git.go
index 5ca81c14..c25309f5 100644
--- a/repository/git.go
+++ b/repository/git.go
@@ -34,12 +34,12 @@ type GitRepo struct {
// LocalConfig .
func (repo *GitRepo) LocalConfig() Config {
- return NewGitConfig(repo, false)
+ return newGitConfig(repo, false)
}
// GlobalConfig .
func (repo *GitRepo) GlobalConfig() Config {
- return NewGitConfig(repo, true)
+ return newGitConfig(repo, true)
}
// Run the given git command with the given I/O reader/writers, returning an error if it fails.