|
|
|
|
|
by masklinn
78 days ago
|
|
It’s important to note that not all history is worth keeping, and keeping a dozen commits titled “fix” fixing build / CI errors from the original changes are a lot worse for bisecting than squashing it all into just one. I very much prefer keeping histories by default (both my personal workflows and the tools I build default to that) but squash is a valuable tool. |
|
How so? When I bisect I want to get down to a small diff, landing on a stretch of several commits (because some didn't build) is still better than landing on a big squashed commit that includes all those changes and more. The absolute worst case when you keep the original history is the same as the default case when you squash.