From cf416b753e9a123519b63f3e9ce6478a1996bb60 Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Fri, 25 Jan 2008 13:56:04 +0000 Subject: 24464: remove trailing whitespace. --- ChangeLog | 4 ++++ Completion/Unix/Command/_git | 12 ++++++------ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index fa1403319..d3035a1a4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-01-25 Clint Adams + + * 24464: Completion/Unix/Command/_git: remove trailing whitespace. + 2008-01-22 Clint Adams * 24437, 24441, 24442: Completion/Unix/Command/_git: compensate diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git index 0da95e52b..516a3bf28 100644 --- a/Completion/Unix/Command/_git +++ b/Completion/Unix/Command/_git @@ -1663,7 +1663,7 @@ _git-grep () { '--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 @@ __git_trees () { (( $+functions[__git_tree_ishs] )) || __git_tree_ishs () { - __git_commits + __git_commits } (( $+functions[__git_blobs] )) || @@ -2726,7 +2726,7 @@ _remote_files () { 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 @@ __git_config_name () { 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 @@ __git_config_values () { # # -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 @@ __git_config_values () { # "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 -- cgit 1.4.1