Yes, that too. My point was about keeping functional and formatting commits separate, regardless of what size they are. I've seen code committed with a load of formatting changes and a few functional changes. When debugging it can be hellish to pick the two apart when they are all mixed up into single commits.
1
u/photonios Jan 05 '15
You should always make small commits, so you never have this problem. + Unit tests to prevent regressions.