Web lists-archives.com

Re: [BUG] ls-files '**' globstar matches one or more directories instead of zero or more directories




On Sat, Apr 15, 2017 at 2:17 AM, Alistair Buxton <a.j.buxton@xxxxxxxxx> wrote:
> To reproduce, go to any git repository and run:
>
>     diff <(git ls-files '**/*' | sort) <(git ls-files | sort)

Actually the '**/' magic only kicks in if you write

git ls-files ':(glob)**/*'

Without that '**' is a normal '*' and matching just subdirs is expected.
-- 
Duy