summaryrefslogtreecommitdiff
path: root/clone.go
diff options
context:
space:
mode:
authorJesse Ezell <[email protected]>2014-03-18 18:23:33 -0700
committerJesse Ezell <[email protected]>2014-03-18 18:23:33 -0700
commitd1e7ee53d53d050d5d5be475f98f51e28a88840c (patch)
treeb09d5b9695444def830b12318fa19bde3bf23928 /clone.go
parent5f35f137372917332cd329cf723a9d005e13d582 (diff)
fix clone options init
Diffstat (limited to 'clone.go')
-rw-r--r--clone.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/clone.go b/clone.go
index c2abbe5..1bc3261 100644
--- a/clone.go
+++ b/clone.go
@@ -55,7 +55,6 @@ func Clone(url string, path string, options *CloneOptions) (*Repository, error)
}
func populateCloneOptions(ptr *C.git_clone_options, opts *CloneOptions) {
- ptr = &C.git_clone_options{}
C.git_clone_init_options(ptr, C.GIT_CLONE_OPTIONS_VERSION)
if opts == nil {