about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2015-07-12 18:14:03 +0200
committerDaniel Hahler <git@thequod.de>2015-07-13 15:05:52 +0200
commit8024de798d1b3eb0eca5772bf5c316124748e74c (patch)
tree84f85446654a6174c11a03881b93b719f99d74d4
parentccd612fdf14e19f39cef9ecfa20b85827b8ba2af (diff)
downloadzsh-8024de798d1b3eb0eca5772bf5c316124748e74c.tar.gz
zsh-8024de798d1b3eb0eca5772bf5c316124748e74c.tar.xz
zsh-8024de798d1b3eb0eca5772bf5c316124748e74c.zip
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.
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_git1
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 71f4755ea..354418d05 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-07-13  Daniel Hahler  <zsh@thequod.de>
+
+	* 35779: Completion/Unix/Command/_git: _git-config: remove
+	extraneous "local expl".
+
 2015-07-12  Daniel Shahaf  <d.s@daniel.shahaf.name>
 
 	* 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