diff options
Diffstat (limited to 'gitConfig.go')
| -rw-r--r-- | gitConfig.go | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gitConfig.go b/gitConfig.go index c397768..006ce8a 100644 --- a/gitConfig.go +++ b/gitConfig.go @@ -171,7 +171,7 @@ func (rs *RepoStatus) readGitConfig() error { } log.Log(REPO, "error fetch mismatch", test.fetch, value) default: - log.Log(REPO, "unknown remote:", rs.Path(), line) + log.Log(REPO, "unknown remote:", line) } case "branch": test, ok := rs.gitConfig.branches[currentName] @@ -187,7 +187,7 @@ func (rs *RepoStatus) readGitConfig() error { rs.gitConfig.branches[currentName].merge = value default: log.Log(REPO, "error unknown remote:", currentSection, currentName, key, value) - log.Log(REPO, "unknown branch:", rs.Path(), line) + log.Log(REPO, "unknown branch:", line) } case "submodule": // test, ok := rs.gitConfig.submodules[currentName] @@ -197,10 +197,10 @@ func (rs *RepoStatus) readGitConfig() error { case "url": rs.gitConfig.submodules[currentName] = value default: - log.Log(REPOWARN, "unknown submodule line:", rs.Path(), line) + log.Log(REPOWARN, "unknown submodule line:", line) } default: - log.Log(REPOWARN, "unknown line:", rs.Path(), line) + log.Log(REPOWARN, "unknown line:", line) } } @@ -261,7 +261,7 @@ func (rs *RepoStatus) processBranch(branch string) { data, err := ioutil.ReadFile(filename) if err != nil { - log.Log(WARN, "hash: read failed", filename, rs.Path()) + log.Log(WARN, "hash: read failed", filename) return } newhash := strings.TrimSpace(string(data)) @@ -269,7 +269,7 @@ func (rs *RepoStatus) processBranch(branch string) { rs.gitConfig.hashes[branch] = newhash if ok { if hash != newhash { - log.Log(WARN, "hash changed", hash, rs.Path()) + log.Log(WARN, "hash changed", hash) } } |
