A good rule of thumb for the "often" part of local committing is: you've changed something and managed to get it to compile again -> commit!
| [reply] |
"managed to get it to compile again" o.O? I'm going to assume you mean "have added thorough tests for the changed code and confirmed they all pass".
| [reply] |
No, that would be the commit following :)
I really don't like having the (small) fix in the same commit as the commit that adds a number of tests to verify the fix. Note that the OP is dealing with a project that does not have tests (yet).
In a project where you do test-driven development, I would completely agree with you.
Enjoy, Have FUN! H.Merijn
| [reply] |