Skip to content

Commit 57f9b30

Browse files
Roy Eldargitster
authored andcommitted
git-submodule.sh: add some comments
Add a couple of comments in a few functions where they were missing. Signed-off-by: Roy Eldar <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 402e46d commit 57f9b30

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

git-submodule.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,7 @@ cmd_set_branch() {
418418
default=
419419
branch=
420420

421+
# parse $args after "submodule ... set-branch".
421422
while test $# -ne 0
422423
do
423424
case "$1" in
@@ -466,6 +467,7 @@ cmd_set_branch() {
466467
# $@ = requested path, requested url
467468
#
468469
cmd_set_url() {
470+
# parse $args after "submodule ... set-url".
469471
while test $# -ne 0
470472
do
471473
case "$1" in
@@ -604,6 +606,7 @@ cmd_status()
604606
#
605607
cmd_sync()
606608
{
609+
# parse $args after "submodule ... sync".
607610
while test $# -ne 0
608611
do
609612
case "$1" in

0 commit comments

Comments
 (0)