Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH 2/7] _git: Make git-show accept diff arguments
- X-seq: zsh-workers 31854
- From: Øystein Walle <oystwa@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [PATCH 2/7] _git: Make git-show accept diff arguments
- Date: Sun, 20 Oct 2013 19:41:00 +0200
- Cc: Øystein Walle <oystwa@xxxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=b1MHICl3DoItOkplLmlUvc8fPxOl/ImQaIlNVIWOQKo=; b=bWwTpaIx7382D9l/IhSYl/jjGuOL3p2Yk5zSwkPJ5+9jVEsmbmgNfWCKAkz9pl2H3s JIA2eoWFtYPWPiUWXQKLxFvPm6qzoBRxUWfYpe8o01d9iW0LuvfQy1Z5/86MgmoTNZGg O/+2fFvVtWZmDewCk0M8ZJgxVo9NqniQ9xqUscvtPpkaaWDffe0Di+3mCd96sUWaBvSW mlaUMraUXqqgHvypcIHn+BTsjegNR+D6JJUIFPhaLE9pfscAlau4ekSVIqVwaJ15677Q 2GoKRmTvVLuxdQfsrCK295FwhwotLrNBome5FAKkmjVt1zdu2SozkmXuWPd+67v11WWL nonw==
- In-reply-to: <cover.1382290245.git.oystwa@gmail.com>
- In-reply-to: <cover.1382290245.git.oystwa@gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <cover.1382290245.git.oystwa@gmail.com>
- References: <cover.1382290245.git.oystwa@gmail.com>
---
Completion/Unix/Command/_git | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index 620d2c9..63aa785 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 \
--
1.8.4.1.516.g1d25dd4
Messages sorted by:
Reverse Date,
Date,
Thread,
Author