Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] improved git completion
- X-seq: zsh-workers 24464
- From: Clint Adams <clint@xxxxxxx>
- To: Dominik Vogt <dominik.vogt@xxxxxx>
- Subject: Re: [PATCH] improved git completion
- Date: Fri, 25 Jan 2008 08:50:27 -0500
- Cc: Zsh Workers <zsh-workers@xxxxxxxxxx>
- In-reply-to: <20080124184704.GA864@xxxxxx>
- Mail-followup-to: Dominik Vogt <dominik.vogt@xxxxxx>, Zsh Workers <zsh-workers@xxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20080124184704.GA864@xxxxxx>
On Thu, Jan 24, 2008 at 07:47:04PM +0100, Dominik Vogt wrote:
> 0001*
>
> Removes trailing whitespace from the file.
This should achieve that.
Index: Completion/Unix/Command/_git
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_git,v
retrieving revision 1.58
diff -u -r1.58 _git
--- Completion/Unix/Command/_git 22 Jan 2008 17:17:00 -0000 1.58
+++ Completion/Unix/Command/_git 25 Jan 2008 13:47:17 -0000
@@ -1663,7 +1663,7 @@
'--all-match[all patterns must match]' \
':pattern:' \
'*::tree-or-file:->files' && ret=0
-
+
case $state in
(files)
integer first_tree last_tree start end
@@ -2573,7 +2573,7 @@
(( $+functions[__git_tree_ishs] )) ||
__git_tree_ishs () {
- __git_commits
+ __git_commits
}
(( $+functions[__git_blobs] )) ||
@@ -2726,7 +2726,7 @@
while _tags; do
while _next_label files expl ${suf:-remote directory}; do
# [[ -n $suf ]] && compadd "$@" "$expl[@]" -d remdispf \
-# ${(q)remdispf%[*=@|]} && ret=0
+# ${(q)remdispf%[*=@|]} && ret=0
compadd ${suf:+-S/} "$@" "$expl[@]" -d remdispd \
${(q)remdispd%/} && ret=0
done
@@ -2934,7 +2934,7 @@
compset -P 'remotes.'
__git_remote-groups
- return
+ return
elif [[ -prefix gitcvs.* ]]; then
names=(
'enabled:whether the cvs pserver interface is enabled'
@@ -3805,7 +3805,7 @@
#
# -t can be used to specify a tag to use (default: booleans).
# -l can be used to specify a label to use (default: 'boolean').
-#
+#
# The first argument is the default value, so that the description of the
# default value can be suffixed with " (default)". The second argument
# is the description for the true value. If a third argument is given,
@@ -3814,7 +3814,7 @@
# "don't ".
(( $+functions[__git_boolean_settings] )) ||
__git_boolean_settings () {
- local tag label garbage
+ local tag label garbage
zparseopts -D -E -a garba S: M: J: V: 1 2 n F: X: -t=tag -l=label
Messages sorted by:
Reverse Date,
Date,
Thread,
Author