aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/object
diff options
context:
space:
mode:
authorOleg Kovalov <iamolegkovalov@gmail.com>2020-07-06 17:40:53 +0200
committerOleg Kovalov <iamolegkovalov@gmail.com>2020-07-06 17:40:53 +0200
commita99446e290f038900b893e21362c6ff766c30f5e (patch)
tree8c9eca0445a0bf31ef57840c3950f923d5dc27b8 /plumbing/object
parenta9899594dfdde8bbfdf35fc7e8c2fc3ec5aa7fdb (diff)
downloadgo-git-a99446e290f038900b893e21362c6ff766c30f5e.tar.gz
Minor linter fixes
Diffstat (limited to 'plumbing/object')
-rw-r--r--plumbing/object/change.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plumbing/object/change.go b/plumbing/object/change.go
index c9d1615..8b119bc 100644
--- a/plumbing/object/change.go
+++ b/plumbing/object/change.go
@@ -75,7 +75,7 @@ func (c *Change) Files() (from, to *File, err error) {
func (c *Change) String() string {
action, err := c.Action()
if err != nil {
- return fmt.Sprintf("malformed change")
+ return "malformed change"
}
return fmt.Sprintf("<Action: %s, Path: %s>", action, c.name())