threads / patch / 50407

patchcompletion: complete git submodule absorbgitdirs

Subject: [PATCH] completion: complete git submodule absorbgitdirs

## tl;dr

One message between Feb 6, 2019 and Feb 6, 2019. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Denton Liu· Feb 6, 2019, 09:42 UTC · lore
Signed-off-by: Denton Liu <liu.denton@gmail.com>
---
 contrib/completion/git-completion.bash | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Show changes to contrib/completion/git-completion.bash +1 −1
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index 499e56f83d..de56879960 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -2573,7 +2573,7 @@ _git_submodule ()
 {
 	__git_has_doubledash && return
 
-	local subcommands="add status init deinit update summary foreach sync"
+	local subcommands="add status init deinit update summary foreach sync absorbgitdirs"
 	local subcommand="$(__git_find_on_cmdline "$subcommands")"
 	if [ -z "$subcommand" ]; then
 		case "$cur" in
-- 
2.20.1.315.gc8c1ecef27

← back to recent threads