From: Clint Adams <clint@zsh.org>
To: zsh-workers@sunsite.dk
Subject: PATCH: _git diff
Date: Sat, 4 Aug 2007 12:37:24 -0400 [thread overview]
Message-ID: <20070804163724.GA14261@scowler.net> (raw)
git.bitwi.se again
Index: Completion/Unix/Command/_git
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_git,v
retrieving revision 1.16
diff -u -r1.16 _git
--- Completion/Unix/Command/_git 12 Jul 2007 06:34:21 -0000 1.16
+++ Completion/Unix/Command/_git 4 Aug 2007 16:36:05 -0000
@@ -939,11 +939,11 @@
# TODO: __git_files should be __git_tree_files (do like in git-diff-tree and
# such)
_git-diff () {
- _arguments \
+ _arguments -S \
$diff_args \
- '::original revision:__git_revisions' \
- '::new revision:__git_revisions' \
- '*:index file:__git_files' && ret=0
+ '::original revision:__git_commits' \
+ '::new revision:__git_commits' \
+ '*::index file:__git_modified_files' && ret=0
}
_git-fetch () {
reply other threads:[~2007-08-04 16:37 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070804163724.GA14261@scowler.net \
--to=clint@zsh.org \
--cc=zsh-workers@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).