Thread (38 messages) flat view 38 messages, 5 authors, 2016-06-15
DORMANTno replies

[PATCH v4 2/6] submodule: Document module_clone arguments in comments

From: W. Trevor King <hidden>
Date: 2016-06-15 22:59:40
Subsystem: the rest · Maintainer: Linus Torvalds

Signed-off-by: W. Trevor King <redacted>
---
 git-submodule.sh | 6 ++++++
 1 file changed, 6 insertions(+)
diff --git a/git-submodule.sh b/git-submodule.sh
index 5e8776c..68dcbe1 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,
-- 
1.8.5.2.8.g0f6c0d1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help