Clone opts init fix #69

Merged
jezell merged 3 commits from clone_opts_init_fix into master 2014-03-18 21:56:38 -05:00
1 changed files with 0 additions and 1 deletions
Showing only changes of commit d1e7ee53d5 - Show all commits

View File

@ -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 {