Skip to content

Commit 9adfc1c

Browse files
wkinggitster
authored andcommitted
submodule: document module_clone arguments in comments
Signed-off-by: W. Trevor King <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent a2aed08 commit 9adfc1c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

git-submodule.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,12 @@ module_name()
241241
#
242242
# Clone a submodule
243243
#
244+
# $1 = submodule path
245+
# $2 = submodule name
246+
# $3 = URL to clone
247+
# $4 = reference repository to reuse (empty for independent)
248+
# $5 = depth argument for shallow clones (empty for deep)
249+
#
244250
# Prior to calling, cmd_update checks that a possibly existing
245251
# path is not a git repository.
246252
# Likewise, cmd_add checks that path does not exist at all,

0 commit comments

Comments
 (0)