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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On IRC someone pointed me to the glossary section for pathspec, and I
find that even more confusing.

In the section about ":(glob)" it says:

> For example, "**/foo" matches file or directory "foo" anywhere, the same as pattern "foo".

This is not true for ls-files: ":(glob)**/.gitignore" is completely
different to ":(glob).gitignore".

The only place where it is true is inside .gitignore files, and there
the ":(glob)" syntax does not work.


-- 
Alistair Buxton
a.j.buxton@xxxxxxxxx



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]