|
|
|
|
|
by freshhawk
3825 days ago
|
|
But I have seen a solution to this problem, back in subversion days. With help from perl-tidy and php-tidy. Pre commit hooks, combined with an appropriate *-tidy program for your language. Code is formatted according to the repo tidy config with a pre-commit hook and formatted according to the developers preference on checkout. I'm missing why whitespace style mapping is not a bijection, you do have to accept some limits to code style in terms of completely rigid indentation rules, and it is obviously language specific. But it seems to be a bijection to me, what am I missing? |
|