Hello.
In the Git repository, we have a .dir-locals.el tracked file. According
to the Emacs manual, a .dir-locals-2.el file can be used for personal
customizations, and it is useful when .dir-locals.el is under VC. So,
the .dir-locals-2.el file shouldn't be tracked.
But if I do the following in the Emacs Git repository:
$ touch .dir-locals-2.el
$ git status
I can see that .dir-locals-2.el is not ignored.
Best regards,
Mauro.