Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: _git log arguments
- X-seq: zsh-workers 23875
- From: Clint Adams <clint@xxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: PATCH: _git log arguments
- Date: Sun, 30 Sep 2007 15:40:14 -0400
- Mail-followup-to: zsh-workers@xxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
I tried this with various things that called git-ls-files but
they were insanely slow.
Index: Completion/Unix/Command/_git
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_git,v
retrieving revision 1.35
diff -u -r1.35 _git
--- Completion/Unix/Command/_git 30 Sep 2007 19:23:14 -0000 1.35
+++ Completion/Unix/Command/_git 30 Sep 2007 19:38:38 -0000
@@ -1705,7 +1705,8 @@
__git_setup_revision_arguments
_arguments -S \
- $revision_arguments && ret=0
+ "$revision_arguments[@]" \
+ '*:tree-ish: _alternative c\:\:__git_committishs f\:\:_files' && ret=0
}
# TODO: repository needs fixing
Messages sorted by:
Reverse Date,
Date,
Thread,
Author