4 ms·
> Also, if you end up committing only parts of files, then how do you know that what you commit works? Because one part was, say, whitespace-errors corrected b
by derefr 10y ago
> Also, if you end up committing only parts of files, then how do you know that what you commit works?
Because one part was, say, whitespace-errors corrected by my editor, or added/updated comments, or removed dead-and-commented code paths, while the other part was an actual logic change. There are many reasons to modify a file of source-code beyond making the code behave differently, but frequently those aspects come together as "oh, I'll just fix this while it's staring me in the face" and must be picked back apart later.