summary refs log tree commit diff
path: root/Completion/Unix
diff options
context:
space:
mode:
authorØystein Walle <oystwa@gmail.com>2013-10-20 19:41:00 +0200
committerFrank Terbeck <ft@bewatermyfriend.org>2013-10-21 17:39:48 +0200
commit7872a5becdc3ead1d8ea809bfe88b8d9a0b4b599 (patch)
tree61a9b037b03546b6536212d2748d17146281d7b7 /Completion/Unix
parent34ba14e1ec69e3811a72ecc3545e99890bff578a (diff)
downloadzsh-7872a5becdc3ead1d8ea809bfe88b8d9a0b4b599.tar.gz
zsh-7872a5becdc3ead1d8ea809bfe88b8d9a0b4b599.tar.xz
zsh-7872a5becdc3ead1d8ea809bfe88b8d9a0b4b599.zip
31854: _git: Make git-show accept diff arguments
Diffstat (limited to 'Completion/Unix')
-rw-r--r--Completion/Unix/Command/_git3
1 files changed, 2 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index 620d2c966..63aa78512 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -1419,9 +1419,10 @@ _git-show () {
   local curcontext=$curcontext state line ret=1
   typeset -A opt_args
 
-  local -a log_options revision_options
+  local -a log_options revision_options diff_options
   __git_setup_log_options
   __git_setup_revision_options
+  __git_setup_diff_options
 
   _arguments -w -C -s \
     $log_options \