summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 {