summaryrefslogtreecommitdiff
path: root/gitConfig.go
diff options
context:
space:
mode:
Diffstat (limited to 'gitConfig.go')
-rw-r--r--gitConfig.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/gitConfig.go b/gitConfig.go
index 3b2ea83..ddfaa8c 100644
--- a/gitConfig.go
+++ b/gitConfig.go
@@ -259,7 +259,7 @@ func (rs *RepoStatus) processBranch(branch string) {
data, err := ioutil.ReadFile(filename)
if err != nil {
- log.Log(WARN, "hash: read failed", filename, rs.String())
+ log.Log(WARN, "hash: read failed", filename, rs.Path())
return
}
newhash := strings.TrimSpace(string(data))
@@ -267,7 +267,7 @@ func (rs *RepoStatus) processBranch(branch string) {
rs.gitConfig.hashes[branch] = newhash
if ok {
if hash != newhash {
- log.Log(WARN, "hash changed", hash, rs.String())
+ log.Log(WARN, "hash changed", hash, rs.Path())
}
}