summaryrefslogtreecommitdiff
path: root/checkout.go
diff options
context:
space:
mode:
authorCarlos Martín Nieto <[email protected]>2015-08-31 20:22:17 +0200
committerCarlos Martín Nieto <[email protected]>2015-08-31 20:22:17 +0200
commitd5890f58e884174f1cee13d5a616e818ba2f5049 (patch)
treeca7877dbc9a0290550525022535d9b98b4101c15 /checkout.go
parent876ddd17eba886c8d1cc10d34a8130dd147d63da (diff)
Run go fmt
As it seems to be something that many people can't get over, reformat all the files; as we're breaking things, whoever depended on 'next' will have to take many changes into account anyway, so let's include this to reduce the noise of incoming patches.
Diffstat (limited to 'checkout.go')
-rw-r--r--checkout.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/checkout.go b/checkout.go
index e0c067e..ce2f469 100644
--- a/checkout.go
+++ b/checkout.go
@@ -44,7 +44,7 @@ type CheckoutOpts struct {
FileMode os.FileMode // Default is 0644 or 0755 as dictated by blob
FileOpenFlags int // Default is O_CREAT | O_TRUNC | O_WRONLY
TargetDirectory string // Alternative checkout path to workdir
- Paths []string
+ Paths []string
}
func checkoutOptionsFromC(c *C.git_checkout_options) CheckoutOpts {
@@ -156,4 +156,4 @@ func (v *Repository) CheckoutTree(tree *Tree, opts *CheckoutOpts) error {
}
return nil
-} \ No newline at end of file
+}