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>

Roy Eldar committed Dec 11, 2024 at 08:32 UTC 57f9b30fcd7707b3917d96e98dc109fb541cd30b
1 file changed +3
git-submodule.sh
+3
@@ -418,6 +418,7 @@ cmd_set_branch() {
418 default=
419 branch=
420
421 + # parse $args after "submodule ... set-branch".
422 while test $# -ne 0
423 do
424 case "$1" in
@@ -466,6 +467,7 @@ cmd_set_branch() {
467 # $@ = requested path, requested url
468 #
469 cmd_set_url() {
470 + # parse $args after "submodule ... set-url".
471 while test $# -ne 0
472 do
473 case "$1" in
@@ -604,6 +606,7 @@ cmd_status()
606 #
607 cmd_sync()
608 {
609 + # parse $args after "submodule ... sync".
610 while test $# -ne 0
611 do
612 case "$1" in