diff options
| author | Carlos Martín Nieto <[email protected]> | 2015-01-29 15:17:54 +0100 |
|---|---|---|
| committer | Carlos Martín Nieto <[email protected]> | 2015-01-29 15:17:54 +0100 |
| commit | 2bcbe6bd2dc230539b8a909606107d65a706bd66 (patch) | |
| tree | ca2678a781eeab69e95b9c433e70472e4242b4be /clone.go | |
| parent | 2b17dffc07f5bc0c79ef4eff805ac3ab1cd4d004 (diff) | |
| parent | 92a1f92d912cdb5f68da8c1e5e3a4d1ebfd282db (diff) | |
Merge commit '92a1f92d912cdb5f68da8c1e5e3a4d1ebfd282db'
Diffstat (limited to 'clone.go')
| -rw-r--r-- | clone.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -30,6 +30,7 @@ func Clone(url string, path string, options *CloneOptions) (*Repository, error) var copts C.git_clone_options populateCloneOptions(&copts, options) + defer freeCheckoutOpts(&copts.checkout_opts) if len(options.CheckoutBranch) != 0 { copts.checkout_branch = C.CString(options.CheckoutBranch) |
