mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-05-20 06:56:05 +02:00
31854: _git: Make git-show accept diff arguments
This commit is contained in:
parent
34ba14e1ec
commit
7872a5becd
|
@ -3,6 +3,9 @@
|
|||
* 31853: Completion/Unix/Command/_git: _git: Add missing column.*
|
||||
config variables
|
||||
|
||||
* 31854: Completion/Unix/Command/_git: _git: Make git-show accept
|
||||
diff arguments
|
||||
|
||||
2013-10-19 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
||||
|
||||
* 31851: Src/exec.c: execstring() should display string to
|
||||
|
|
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue