From ef4157fac4657337d491ca1d3ea92f195bf191d8 Mon Sep 17 00:00:00 2001 From: m0viefreak Date: Sun, 22 Sep 2013 12:48:17 +0200 Subject: [PATCH] 31744: _git: make git submodule completion work The -A parameter in the main completion stopped completion in the subcommands from working. Remove it. --- ChangeLog | 3 +++ Completion/Unix/Command/_git | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ca416d284..feb98eb28 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,6 +6,9 @@ * 31743: Completion/Unix/Command/_git: _git: fix usage of ->int: for some entries in _git-config + * 31744: Completion/Unix/Command/_git: _git: make git submodule + completion work + 2013-09-21 Barton E. Schaefer * unposted: Src/glob.c: improve an error message. diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git index faa8df889..0f4ead334 100644 --- a/Completion/Unix/Command/_git +++ b/Completion/Unix/Command/_git @@ -1491,7 +1491,7 @@ _git-submodule () { local curcontext=$curcontext state line ret=1 declare -A opt_args - _arguments -C -A '-*' \ + _arguments -C \ '(-q --quiet)'{-q,--quiet}'[suppress all output]' \ ': :->command' \ '*:: :->option-or-argument' && ret=0