diff options
author | Daniel Shahaf <d.s@daniel.shahaf.name> | 2016-07-23 14:01:20 +0000 |
---|---|---|
committer | Daniel Shahaf <d.s@daniel.shahaf.name> | 2016-07-23 18:02:29 +0000 |
commit | 3afaebd913d08e778546fd208aff6a4df1b96337 (patch) | |
tree | 609f5730d9dd8c34a8d5d739215bd35e2a1e0a47 /Completion/Unix | |
parent | 0f4cfc25979de09f88615d76a26462279af506e6 (diff) | |
download | zsh-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/_git | 2 |
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 )) |