From dd703246bbd73fd39f74cdedfac786e9e91e4444 Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Tue, 22 Jan 2008 16:44:09 +0000 Subject: 24437: compensate for some breakage introduced by 24396. --- Completion/Unix/Command/_git | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Completion') diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git index 1b02e4aa8..e76f7cc24 100644 --- a/Completion/Unix/Command/_git +++ b/Completion/Unix/Command/_git @@ -2655,8 +2655,7 @@ __git_tree_files () { integer at_least_one_tree_added local -a tree_files - Path=${1%/*}/ - [[ $Path = / ]] && Path=. + Path=${1:h}/ shift (( at_least_one_tree_added = 0 )) for tree in $*; do -- cgit 1.4.1