[git-users] Git Ignore File

2016-05-31 Thread Konstantin Khomoutov
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 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[git-users] Git Ignore File

2016-05-30 Thread ak1155
Looking at the gitignore docs (https://git-scm.com/docs/gitignore), why 
wouldn't "Documentation/*.html" match "tools/perf/Documentation/perf.html"?
  I was under the impression the pattern would match a pathname anywhere in 
the tree.

-- 
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 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.