Re:Formatting code should be unnecessary
by shepherdjerred on Monday September 08, 2025 @04:54PM
(#45173834)
And then setup git-ignore-revs
Re:Formatting code should be unnecessary
by craftkiller on Monday September 08, 2025 @06:56PM
(#45175190)
Awesome, TIL about this feature. Thanks!
The reformatting tools should be CI-enforced so you'll only end up with sudden massive changes like this once when you start using auto-formatters.
Regardless, tell your teammates to separate out formatting changes vs logic changes into separate commits (preferably separate PRs). Since they're auto-formatters it wouldn't even be any additional work, just: