* PATCH: _git diff
@ 2007-08-04 16:37 Clint Adams
0 siblings, 0 replies; only message in thread
From: Clint Adams @ 2007-08-04 16:37 UTC (permalink / raw)
To: zsh-workers
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 () {
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-08-04 16:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-04 16:37 PATCH: _git diff Clint Adams
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).