Skip to contentSkip to conversation

bash-completion: Add all submodule subcommands to the completion list

PATCH New Matthias Kestenholz 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bash-completion: Add all submodule subcommands to the completion list

---
 contrib/completion/git-completion.bash |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
contrib/completion/git-completion.bash +1 -1
index 89858c2..4f64f8a 100755
@@ -1483,7 +1483,7 @@ _git_submodule ()
 {
 	__git_has_doubledash && return
 
-	local subcommands="add status init update"
+	local subcommands="add status init update summary foreach sync"
 	if [ -z "$(__git_find_subcommand "$subcommands")" ]; then
 		local cur="${COMP_WORDS[COMP_CWORD]}"
 		case "$cur" in
Signature · 1 line
1.6.0.174.gd789c