Use --recurse-submodules instead of --recursive
The option --recursive is not documented for git >2.11 (2016), instead --recurse-submodules should be used.
This commit is contained in:
parent
6d2e81d0dc
commit
0c7d98e89e
2 changed files with 2 additions and 2 deletions
|
@ -35,7 +35,7 @@ owner=$(cat "$__object/parameter/owner")
|
|||
group=$(cat "$__object/parameter/group")
|
||||
mode=$(cat "$__object/parameter/mode")
|
||||
|
||||
[ -f "$__object/parameter/recursive" ] && recursive='--recursive' || recursive=''
|
||||
[ -f "$__object/parameter/recursive" ] && recursive='--recurse-submodules' || recursive=''
|
||||
|
||||
[ "$state_should" = "$state_is" ] \
|
||||
&& [ "$owner" = "$owner_is" ] \
|
||||
|
|
|
@ -36,7 +36,7 @@ owner
|
|||
User to chown to.
|
||||
|
||||
recursive
|
||||
Passes the --recursive flag to git when cloning the repository.
|
||||
Passes the --recurse-submodules flag to git when cloning the repository.
|
||||
|
||||
EXAMPLES
|
||||
--------
|
||||
|
|
Loading…
Reference in a new issue