aboutsummaryrefslogtreecommitdiffstats
path: root/options.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2017-02-12 23:03:47 +0100
committerMáximo Cuadros <mcuadros@gmail.com>2017-02-12 23:04:00 +0100
commitb3b6e51565dcdbf81546f1d8f0121874a4e4fce9 (patch)
tree5ad244f4b9c350367ed65d57d8881078aefe0753 /options.go
parent498dbf7dc92e288641f1af1acc52704150e8a6c0 (diff)
downloadgo-git-b3b6e51565dcdbf81546f1d8f0121874a4e4fce9.tar.gz
submodule init implementation
Diffstat (limited to 'options.go')
-rw-r--r--options.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/options.go b/options.go
index 120c472..1f83c36 100644
--- a/options.go
+++ b/options.go
@@ -32,6 +32,10 @@ type CloneOptions struct {
SingleBranch bool
// Limit fetching to the specified number of commits
Depth int
+ // RecursiveSubmodules after the clone is created, initialize all submodules
+ // within, using their default settings. This option is ignored if the
+ // cloned repository does not have a worktree
+ RecursiveSubmodules bool
// Progress is where the human readable information sent by the server is
// stored, if nil nothing is stored and the capability (if supported)
// no-progress, is sent to the server to avoid send this information