Re: [PATCH] docs: improve discoverability of exclude pathspec

2017-09-24 Thread Junio C Hamano
Manav Rathi writes: > The ability to exclude paths in pathspecs is not mentioned in the man > pages of git grep and other commands where it might be useful. My reading stutters around "exclude paths in pathspecs" in the above. Perhaps "exclude paths with a negative pathspec" instead? > diff --

[PATCH] docs: improve discoverability of exclude pathspec

2017-09-24 Thread Manav Rathi
The ability to exclude paths in pathspecs is not mentioned in the man pages of git grep and other commands where it might be useful. Add a pointer to the pathspec syntax and a quick example in the git grep man page to help the user to discover this ability. Add similar pointers from the git-add a