Skip to contentSkip to conversation

git-submodule: re-enable 'status' as the default subcommand

PATCH New Lars Hjemli 4 participants 4 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 git-submodule: re-enable 'status' as the default subcommand

This was broken as part of ecda072380.

---
 git-submodule.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
git-submodule.sh +1 -1
index 2cfeadd..3320998 100755
@@ -313,7 +313,7 @@ case "$add,$init,$update,$status,$cached" in
 ,,1,,)
 	modules_update "$@"
 	;;
-,,,1,*)
+,,,*,*)
 	modules_list "$@"
 	;;
 *)
Signature · 1 line
1.5.3.rc4-dirty
#1 lore raw

PATCH 1/1 git-submodule: re-enable 'status' as the default subcommand

Hi

I got no response on this patch, was it simply overlooked? I really think

$ git submodule

should show the available submodules and their status.

--
larsh

#2 lore raw
Quoted 5 lines · Lars Hjemli

I got no response on this patch, was it simply overlooked? I really think

$ git submodule

should show the available submodules and their status.

Probably. I do not think of any other alternative behaviour that would make sense.

Sven?

#3 lore raw
Quoted 12 lines · Lars Hjemli

This was broken as part of ecda072380.

---
 git-submodule.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
git-submodule.sh +0 -0
index 2cfeadd..3320998 100755

git-submodule.sh case "$add,$init,$update,$status,$cached" in · line 319

Quoted 8 lines
git-submodule.sh +1 -1
@@ -313,7 +313,7 @@ case "$add,$init,$update,$status,$cached" in
 ,,1,,)
 	modules_update "$@"
 	;;
-,,,1,*)
+,,,*,*)
 	modules_list "$@"
 	;;
 *)

Sorry about that. I didn't realize that it was supposed to do that (it seems I didn't read the manual carefully enough) and I forgot to mention I changed it.

Quoted 11 lines · Junio C Hamano
Quoted 5 lines · Lars Hjemli

I got no response on this patch, was it simply overlooked? I really think

$ git submodule

should show the available submodules and their status.

Probably. I do not think of any other alternative behaviour that would make sense.

Sven?

No objections from me.

skimo