diff options
| author | Jeff Carr <[email protected]> | 2025-01-07 19:09:25 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-01-07 19:09:25 -0600 |
| commit | 4efbead37c944b89a63b0c8d89325541d0392c3f (patch) | |
| tree | 39ad3aa3693c4343dcda326e0dd7fce44166c161 /gitConfig.go | |
| parent | 4dcd9a116440268b3400b7877c0dd291d3154346 (diff) | |
last of the easy rm old code
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) } } |
