Hi all,
first of all, thank you so much for providing us with this awesome library!
I noticed that gitattributes.ReadAttributesFile(...) does not properly close the file after successfully opening it.
Although that is not an issue on Linux/MacOS it breaks my CI on Windows when trying to clean a temp directory although a .gitattributes file is not closed.
I will provide a PR in a moment to fix this.