mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-18 15:21:16 +02:00
24441: compensate for some breakage introduced by 24396.
This commit is contained in:
parent
dd703246bb
commit
73ccdcff0a
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
2008-01-22 Clint Adams <clint@zsh.org>
|
2008-01-22 Clint Adams <clint@zsh.org>
|
||||||
|
|
||||||
* 24437: Completion/Unix/Command/_git: compensate for
|
* 24437, 24441: Completion/Unix/Command/_git: compensate for
|
||||||
some breakage introduced by 24396.
|
some breakage introduced by 24396.
|
||||||
|
|
||||||
2008-01-22 Peter Stephenson <pws@csr.com>
|
2008-01-22 Peter Stephenson <pws@csr.com>
|
||||||
|
|
|
@ -2655,7 +2655,7 @@ __git_tree_files () {
|
||||||
integer at_least_one_tree_added
|
integer at_least_one_tree_added
|
||||||
local -a tree_files
|
local -a tree_files
|
||||||
|
|
||||||
Path=${1:h}/
|
[[ "$1" == */ ]] && Path="$1" || Path="${1:h}/"
|
||||||
shift
|
shift
|
||||||
(( at_least_one_tree_added = 0 ))
|
(( at_least_one_tree_added = 0 ))
|
||||||
for tree in $*; do
|
for tree in $*; do
|
||||||
|
|
Loading…
Reference in a new issue