walkFunc is a method of GRVisitor now, as I wanted two years ago
improve and speedup gitignore matcher
ability to search for files by their names
golang is able to infer byteNewLine type
Fix handling of 'dir/*' in .gitignore

It should ignore all nested directories as well, so treat this as a full
wildcard.