|
From: Nicholas N. <n.n...@gm...> - 2023-04-20 20:52:09
|
On Fri, 21 Apr 2023 at 06:02, Mark Wielaard <ma...@kl...> wrote: > > Sure you can work around it, but I don't think that is a great > solution. It requires everyone to make some local changes. > You can send up a .gitconfig for the project, so it'll work automatically for everyone. > I am not a fan, but also not dead against. > Have you ever worked on a project that uses auto-formatting? Skepticism followed by enthusiasm is common. Paul, Julian, and I all have used it on other codebases and are now advocates. I'm using it for Cachegrind's Python code right now. It makes life easier. Personally I am happy with emacs M-x indent-region on the code I edit. > There is a .dir-locals.el in git which catches some (but certainly not > all) formatting things. > What about people who don't use emacs? Nick |