3 ms·
Agreed. There should be a standard way that everybody on the team formats their code on check-in, and that format should not change. That way, it can be enfor
by MereInterest 10y ago
Agreed. There should be a standard way that everybody on the team formats their code on check-in, and that format should not change. That way, it can be enforced by a single git pre-commit hook to clang-format. If somebody wants to work on the code formatted in a different way, well then that's just more calls to clang-format, but it never touches the repository that way.