From b3b6e51565dcdbf81546f1d8f0121874a4e4fce9 Mon Sep 17 00:00:00 2001 From: Máximo Cuadros Date: Sun, 12 Feb 2017 23:03:47 +0100 Subject: submodule init implementation --- options.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'options.go') 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 -- cgit