Is there a way to use shell globbing to identify nested directories?
so if I have dir/dir1/dir2/dir3/dir4/dir5/.. and I have files under all of them, what is the equival
Specifically about git (gitignore, gitattributes, and commands that take filenames): if the pattern contains no slash, *
wildcards will match deep. If it does contain a slash, git will call fnmatch with the FNM_PATHNAME flag, and simple wildcards won't match slashes. **
to match deep isn't supported. Maybe this kind of deep matching could be more widely supported with a new FNM_STARSTAR
flag, and an implementation in glibc, gnulib and other places.