The lib/.gitignore file is auto-generated by bootstrap. Is there any reason it should be in git at all? Comparing coreutils, it doesn't have a lib/.gitignore file. Bootstrapping and building works fine without the file.
I propose the patch below, opinions? None from moi.