Re: [PATCH 4/5 v2] gitignore: Add leading slashes where appropriate

2020-05-07 Thread Daniel Kiper
On Thu, Apr 30, 2020 at 09:54:52PM +0200, Hans Ulrich Niedermann wrote: > Going through the list of gitignore patterns without a leading slash, > this adds a leading slash where it appears to have been forgotten. > > Also, for patterns matching directories, add a trailing slash. I would split

[PATCH 4/5 v2] gitignore: Add leading slashes where appropriate

2020-04-30 Thread Hans Ulrich Niedermann
Going through the list of gitignore patterns without a leading slash, this adds a leading slash where it appears to have been forgotten. Also, for patterns matching directories, add a trailing slash. Some gitignore patterns like ".deps/" or "Makefile" clearly should match everywhere, so those