Thank you for replying.  I looked at the man pages for "fnmatch" (I had 
looked at it previously) but that hasn't helped.  

In the documentation ( just above the 
"Notes" section, it says that the pattern "foo" (without quotes) would 
match a file or directory named "foo" anywhere.  But then it says (a bit 
higher up) that "Documentation/*.html" won't match 
"tools/perf/Documentation/perf.html".  The documentation does make a 
distinction between patterns with slashes and those without them, but I 
don't understand the difference.  

Thank you again for taking the time to answer my question.

On Tuesday, May 31, 2016 at 2:01:55 AM UTC-6, Konstantin Khomoutov wrote:
> Isn't the manual page you linked to absolutely explicit about why your 
> pattern does not match anywhere in the directory tree? It even gives an 
> example.
> For further details, google for man+3+fnmatch and read on its behaviour.
> If you need the pattern to match anywhere in the tree, prepend "**/" 
> without the quotes to it.

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
For more options, visit

Reply via email to