From 9adfc1cfa7e4b0081e988cc37f31f5e56be8f339 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 15 Jan 2014 20:10:23 -0800 Subject: submodule: document module_clone arguments in comments Signed-off-by: W. Trevor King Signed-off-by: Junio C Hamano --- git-submodule.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'git-submodule.sh') diff --git a/git-submodule.sh b/git-submodule.sh index 5e8776ce8..68dcbe1bc 100755 --- a/git-submodule.sh +++ b/git-submodule.sh @@ -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, -- cgit v1.2.1