aboutsummaryrefslogtreecommitdiffstats
path: root/remote.go
diff options
context:
space:
mode:
authorSantiago M. Mola <santi@mola.io>2017-04-26 13:26:51 +0200
committerSantiago M. Mola <santi@mola.io>2017-04-26 13:41:46 +0200
commit45ac03181f61477d28e031725c68f938cb379554 (patch)
treee1a636db10a31df84dd05fb312586a77b860dd79 /remote.go
parent9e4f992d9633dd1ac8cc0b5bcd92b377190a9a03 (diff)
downloadgo-git-45ac03181f61477d28e031725c68f938cb379554.tar.gz
fix format string issues as found by go vet
Diffstat (limited to 'remote.go')
-rw-r--r--remote.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/remote.go b/remote.go
index ca6b33e..ae8a544 100644
--- a/remote.go
+++ b/remote.go
@@ -41,7 +41,7 @@ func (r *Remote) String() string {
fetch := r.c.URL
push := r.c.URL
- return fmt.Sprintf("%s\t%s (fetch)\n%[1]s\t%s (push)", r.c.Name, fetch, push)
+ return fmt.Sprintf("%s\t%s (fetch)\n%[1]s\t%[3]s (push)", r.c.Name, fetch, push)
}
// Fetch fetches references from the remote to the local repository.