4 ms·
It may be the last thing they did on this day and the commit message reads "wip".
by groestl 4y ago
It may be the last thing they did on this day and the commit message reads "wip".
- Izkata 4y agoAnd if that's where we end up while bug-hunting, we know it was caused by an unfinished thought, is akin to the typo case above, and should be fixable without much concern over what else it may break since it wasn't introduced while fixing something else.
- evandale 4y agoThat's exactly why I like multiple commits similar to how I described. Maybe this is the silver bulletpoint that can convert squashers? https://news.ycombinator.com/item?id=33536876 https://news.ycombinator.com/item?id=33536876 >One of those small typo fixes could introduce a bug and multiple commits makes it easier to track down. Blame would pinpoint it exactly - you'll see Bob's "Fix a typo" commit instead of being buried in Bob's "Add trucks to the game" commit. That saves you from having to go look at the PR or diff and to figure out why Bob renamed cares to cars.