summary refs log tree commit diff
path: root/Completion/Unix
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2016-07-23 14:01:20 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2016-07-23 18:02:29 +0000
commit3afaebd913d08e778546fd208aff6a4df1b96337 (patch)
tree609f5730d9dd8c34a8d5d739215bd35e2a1e0a47 /Completion/Unix
parent0f4cfc25979de09f88615d76a26462279af506e6 (diff)
downloadzsh-3afaebd913d08e778546fd208aff6a4df1b96337.tar.gz
zsh-3afaebd913d08e778546fd208aff6a4df1b96337.tar.xz
zsh-3afaebd913d08e778546fd208aff6a4df1b96337.zip
unposted: _git-grep: Stop leaking the parameter $i.
Diffstat (limited to 'Completion/Unix')
-rw-r--r--Completion/Unix/Command/_git2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index 5954c55e5..b6da32962 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -973,7 +973,7 @@ _git-grep () {
   # don't complete treeishs.
   case $state in
     (tree-or-file)
-      integer first_tree last_tree start end
+      integer first_tree last_tree start end i
 
       (( start = words[(I)(-f|-e)] > 0 ? 1 : 2 ))
       (( end = $#line - 1 ))