about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2015-05-17 19:54:15 +0200
committerDaniel Hahler <git@thequod.de>2015-05-17 19:54:15 +0200
commit895408bb814e8d41c21e9f51cb545ea2c7a9b975 (patch)
tree5125afe4d81dc026fbb78b846f34da5a8f9bcfb4
parent7990cf983e90d4e9412768b73c851f10e1ddc1dd (diff)
downloadzsh-895408bb814e8d41c21e9f51cb545ea2c7a9b975.tar.gz
zsh-895408bb814e8d41c21e9f51cb545ea2c7a9b975.tar.xz
zsh-895408bb814e8d41c21e9f51cb545ea2c7a9b975.zip
completion: git: add missing return to __git_recent_commits
-rw-r--r--Completion/Unix/Command/_git1
1 files changed, 1 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index ed23b39e8..d9d1015c3 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -5691,6 +5691,7 @@ __git_recent_commits () {
   _wanted heads expl 'head' compadd "$@" -a - heads && ret=0
   expl=()
   _describe -2Vx -t commits 'commit object name' descr && ret=0
+  return $ret
 }
 
 (( $+functions[__git_blob_objects] )) ||