about summary refs log tree commit diff
path: root/Completion/Unix/Command/_git
diff options
context:
space:
mode:
authorFrank Terbeck <bewater@users.sourceforge.net>2010-06-03 10:34:08 +0000
committerFrank Terbeck <bewater@users.sourceforge.net>2010-06-03 10:34:08 +0000
commitc617e5a07b30051e5a02bcc8233ddc5501447c59 (patch)
treeaec9531d1502eaf70dfa97e74cf1f73cb5bd8f9c /Completion/Unix/Command/_git
parentfdebbca7547a0bbeac5335e8ee97e073ac495c40 (diff)
downloadzsh-c617e5a07b30051e5a02bcc8233ddc5501447c59.tar.gz
zsh-c617e5a07b30051e5a02bcc8233ddc5501447c59.tar.xz
zsh-c617e5a07b30051e5a02bcc8233ddc5501447c59.zip
Holger Weiss: 27977: _git shouldn't return 0 if there are no matches.
Diffstat (limited to 'Completion/Unix/Command/_git')
-rw-r--r--Completion/Unix/Command/_git2
1 files changed, 2 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index aef5e7c68..cb06d5703 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -4471,11 +4471,13 @@ if [[ $service == git ]]; then
       else
         curcontext="${curcontext%:*:*}:git-$words[1]:"
         _call_function ret _git-$words[1]
+        return ret
       fi
       ;;
   esac
 else
   _call_function ret _$service
+  return ret
 fi
 }