zsh-workers
 help / color / mirror / code / Atom feed
From: Clint Adams <clint@zsh.org>
To: Dominik Vogt <dominik.vogt@gmx.de>
Cc: Zsh Workers <zsh-workers@sunsite.dk>
Subject: Re: [PATCH] improved git completion
Date: Fri, 25 Jan 2008 08:50:27 -0500	[thread overview]
Message-ID: <20080125135027.GA19446@scowler.net> (raw)
In-Reply-To: <20080124184704.GA864@gmx.de>

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
 


  parent reply	other threads:[~2008-01-25 13:53 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-24 18:47 Dominik Vogt
2008-01-24 23:12 ` Jörg Sommer
2008-01-25 13:38   ` Dominik Vogt
2008-01-26  0:17     ` Jörg Sommer
2008-01-26 11:34       ` Dominik Vogt
2008-01-25 13:50 ` Clint Adams [this message]
2008-01-28  9:45 ` Nikolai Weibull
2008-01-29  8:38   ` Dominik Vogt
2008-01-29  8:51     ` Nikolai Weibull
2008-01-29  9:01       ` Dominik Vogt

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=20080125135027.GA19446@scowler.net \
    --to=clint@zsh.org \
    --cc=dominik.vogt@gmx.de \
    --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).