Hi Dmitry, On Wed, 2020-12-16 at 02:46 +0300, Dmitry V. Levin wrote: > By the way, what do you think about moving subdirectory parts of the top > level .gitignore file into subdirectories? This would be consistent with > ChangeLog files, currently one has to update the top level ChangeLog file > when the top level .gitignore file is changed in a way that affects > specific subdirectories only.
Yes, I think it would make sense to have .gitignore files per subdir. I don't know how to keep that easily up to date though. I normally use srcdir != builddir setups and so don't immediately see when there are generated files in the srcdir. Thanks, Mark