diff options
author | Clint Adams <clint@users.sourceforge.net> | 2008-01-22 17:07:16 +0000 |
---|---|---|
committer | Clint Adams <clint@users.sourceforge.net> | 2008-01-22 17:07:16 +0000 |
commit | 73ccdcff0a0a11ec260764d821b41eb066577863 (patch) | |
tree | 7ec7218d4f4018cdb84c47f68b154826bdf299aa /Completion/Unix/Command/_git | |
parent | dd703246bbd73fd39f74cdedfac786e9e91e4444 (diff) | |
download | zsh-73ccdcff0a0a11ec260764d821b41eb066577863.tar.gz zsh-73ccdcff0a0a11ec260764d821b41eb066577863.tar.xz zsh-73ccdcff0a0a11ec260764d821b41eb066577863.zip |
24441: compensate for some breakage introduced by 24396.
Diffstat (limited to 'Completion/Unix/Command/_git')
-rw-r--r-- | Completion/Unix/Command/_git | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git index e76f7cc24..71d006074 100644 --- a/Completion/Unix/Command/_git +++ b/Completion/Unix/Command/_git @@ -2655,7 +2655,7 @@ __git_tree_files () { integer at_least_one_tree_added local -a tree_files - Path=${1:h}/ + [[ "$1" == */ ]] && Path="$1" || Path="${1:h}/" shift (( at_least_one_tree_added = 0 )) for tree in $*; do |