aboutsummaryrefslogtreecommitdiffstats
path: root/git-checkout-store/main.go
diff options
context:
space:
mode:
authorTeddy Wing2014-12-26 19:19:15 -0500
committerTeddy Wing2014-12-26 19:19:15 -0500
commitd77af4ce1538f9da5e51e3ecb15a24bbe90358e5 (patch)
tree679a0d5fa3fc39104828c137cb3fe72ef9f57bfa /git-checkout-store/main.go
parentea03b4335528cf741b29df1403680f11e56722b1 (diff)
downloadgit-checkout-history-d77af4ce1538f9da5e51e3ecb15a24bbe90358e5.tar.bz2
git-checkout-store: Use Print instead of Println for cmd output
Since we're just outputting the output of `git-checkout`, there's already a newline at the end. We don't want to output an extra one, so just send the `git-checkout` output to the screen verbatim.
Diffstat (limited to 'git-checkout-store/main.go')
-rw-r--r--git-checkout-store/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-checkout-store/main.go b/git-checkout-store/main.go
index ae3ff27..3fd82f3 100644
--- a/git-checkout-store/main.go
+++ b/git-checkout-store/main.go
@@ -21,6 +21,6 @@ func main() {
if err != nil {
fmt.Fprintf(os.Stderr, err.Error())
}
- fmt.Println(out.String())
+ fmt.Print(out.String())
}
}