diff options
author | Michael Rykov <mrykov@gmail.com> | 2018-01-15 12:32:53 -0800 |
---|---|---|
committer | Michael Rykov <mrykov@gmail.com> | 2018-01-17 16:43:15 +0700 |
commit | 591aed138177b27b08a90c90e6e074a6cf2dbd00 (patch) | |
tree | cc94d2d3accb4f5277f2a13e571da275b0bbf08e /options.go | |
parent | e9247ce9c5ce12126f646ca3ddf0066e4829bd14 (diff) | |
download | go-git-591aed138177b27b08a90c90e6e074a6cf2dbd00.tar.gz |
Support for clone without checkout
Diffstat (limited to 'options.go')
-rw-r--r-- | options.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -41,6 +41,8 @@ type CloneOptions struct { ReferenceName plumbing.ReferenceName // Fetch only ReferenceName if true. SingleBranch bool + // No checkout of HEAD after clone if true. + NoCheckout bool // Limit fetching to the specified number of commits. Depth int // RecurseSubmodules after the clone is created, initialize all submodules |