From 8024de798d1b3eb0eca5772bf5c316124748e74c Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Sun, 12 Jul 2015 18:14:03 +0200 Subject: [PATCH] 35779: completion: _git-config: remove extraneous "local expl" It is defined at the beginning of the function already, and results in the output of `expl=''` when completing after `git config branch.local.pushremote ` etc. --- ChangeLog | 5 +++++ Completion/Unix/Command/_git | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 71f4755ea..354418d05 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2015-07-13 Daniel Hahler + + * 35779: Completion/Unix/Command/_git: _git-config: remove + extraneous "local expl". + 2015-07-12 Daniel Shahaf * unposted: Test/B01cd.ztst: Typo diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git index a44de405c..26f108fbd 100644 --- a/Completion/Unix/Command/_git +++ b/Completion/Unix/Command/_git @@ -2923,7 +2923,6 @@ _git-config () { (*) # TODO: Do we need to set up a _requested/_next_label? declare -a action - local expl _description values expl "$parts[2]" eval "action=($parts[4])" "$action[1]" "$expl[@]" "${(@)action[2,-1]}" && ret=0