diff options
author | Teddy Wing | 2014-12-26 19:19:15 -0500 |
---|---|---|
committer | Teddy Wing | 2014-12-26 19:19:15 -0500 |
commit | d77af4ce1538f9da5e51e3ecb15a24bbe90358e5 (patch) | |
tree | 679a0d5fa3fc39104828c137cb3fe72ef9f57bfa /git-checkout-store | |
parent | ea03b4335528cf741b29df1403680f11e56722b1 (diff) | |
download | git-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')
-rw-r--r-- | git-checkout-store/main.go | 2 |
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()) } } |