Skip to content

Commit

Permalink
submodule: document module_clone arguments in comments
Browse files Browse the repository at this point in the history
Signed-off-by: W. Trevor King <wking@tremily.us>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
W. Trevor King authored and Junio C Hamano committed Feb 24, 2014
1 parent a2aed08 commit 9adfc1c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions git-submodule.sh
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,12 @@ module_name()
#
# Clone a submodule
#
# $1 = submodule path
# $2 = submodule name
# $3 = URL to clone
# $4 = reference repository to reuse (empty for independent)
# $5 = depth argument for shallow clones (empty for deep)
#
# Prior to calling, cmd_update checks that a possibly existing
# path is not a git repository.
# Likewise, cmd_add checks that path does not exist at all,
Expand Down

0 comments on commit 9adfc1c

Please sign in to comment.