about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2008-03-09 12:29:52 +0000
committerClint Adams <clint@users.sourceforge.net>2008-03-09 12:29:52 +0000
commit9e1c419497c8b604174c4af5af90ebd8c3707a77 (patch)
tree3de7c5a8802d84f2d85e9dc6ded71e0d648168bf /Completion
parent2448f0f7aaf1cbb6bcaa5857f33ff893541ee1ff (diff)
downloadzsh-9e1c419497c8b604174c4af5af90ebd8c3707a77.tar.gz
zsh-9e1c419497c8b604174c4af5af90ebd8c3707a77.tar.xz
zsh-9e1c419497c8b604174c4af5af90ebd8c3707a77.zip
24702: fix 24701
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Unix/Command/_git4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index d15f3599e..2724be7d0 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -4155,8 +4155,8 @@ __git_is_indexed () {
         __git_aliases_and_commands
         ;;
       (options)
-        curcontext="${curcontext%:*:*}:git-$service:"
-        _call_function ret _git-$service
+        curcontext="${curcontext%:*:*}:git-$words[1]:"
+        _call_function ret _git-$words[1]
         ;;
     esac
   else