diff options
author | Teddy Wing | 2014-12-06 12:15:37 -0500 |
---|---|---|
committer | Teddy Wing | 2014-12-06 12:15:37 -0500 |
commit | de67895ad542d70a302e5098d63ca9248fde813b (patch) | |
tree | 27ab242e6d12217e2243de02d2c99b7eb12f840b | |
parent | c493950671962631eb87373388dd3fe3257cf4f7 (diff) | |
download | git-checkout-history-de67895ad542d70a302e5098d63ca9248fde813b.tar.bz2 |
git-checkout-store: go fmt
-rw-r--r-- | git-checkout-store/main.go | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/git-checkout-store/main.go b/git-checkout-store/main.go index c9943e4..56b44ec 100644 --- a/git-checkout-store/main.go +++ b/git-checkout-store/main.go @@ -1,17 +1,15 @@ package main - import ( "bytes" + "fmt" "os" "os/exec" - "fmt" ) - func main() { args := os.Args[1:] - + if len(args) > 0 { cmd := exec.Command("git", "checkout", args[0]) var out bytes.Buffer |