fix a globbing error in zgit_hasuntracked
This commit is contained in:
parent
317a982237
commit
65d1d014b3
1 changed files with 1 additions and 2 deletions
|
|
@ -174,8 +174,7 @@ zgit_isworktreeclean() {
|
|||
|
||||
zgit_hasuntracked() {
|
||||
zgit_isgit || return 1
|
||||
local -a flist
|
||||
flist=($(git ls-files --others --exclude-standard))
|
||||
noglob set -A flist $(git ls-files --others --exclude-standard)
|
||||
if [ $#flist -gt 0 ]; then
|
||||
return 0
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in a new issue