diff options
author | Roy Eldar <royeldar0@gmail.com> | 2024-12-11 07:32:32 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-12-11 12:46:48 +0100 |
commit | 57f9b30fcd7707b3917d96e98dc109fb541cd30b (patch) | |
tree | 79f189b17f0713028cc404f3038bc65526a218ea | |
parent | git-submodule.sh: get rid of unused variable (diff) | |
download | git-57f9b30fcd7707b3917d96e98dc109fb541cd30b.tar.xz git-57f9b30fcd7707b3917d96e98dc109fb541cd30b.zip |
git-submodule.sh: add some comments
Add a couple of comments in a few functions where they were missing.
Signed-off-by: Roy Eldar <royeldar0@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rwxr-xr-x | git-submodule.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/git-submodule.sh b/git-submodule.sh index ba3bef8821..ee86e4de46 100755 --- a/git-submodule.sh +++ b/git-submodule.sh @@ -418,6 +418,7 @@ cmd_set_branch() { default= branch= + # parse $args after "submodule ... set-branch". while test $# -ne 0 do case "$1" in @@ -466,6 +467,7 @@ cmd_set_branch() { # $@ = requested path, requested url # cmd_set_url() { + # parse $args after "submodule ... set-url". while test $# -ne 0 do case "$1" in @@ -604,6 +606,7 @@ cmd_status() # cmd_sync() { + # parse $args after "submodule ... sync". while test $# -ne 0 do case "$1" in |