News for hackers. Stuff that matters.
Re:Who needs Git when you have 1M context windows? by watwut on Tuesday October 07, 2025 @11:54AM (#45504728)
Alternative to squashing is not a beautiful atomic commits. It is series of commits where commit #5 fixes commit #2 and intruduces bug to be fixed on commit #7. Where commit #3 introduces new class that is going to be removed in commits #6 and #7.
Re:Who needs Git when you have 1M context windows? by SketchySeaBeast on Tuesday October 07, 2025 @12:33PM (#45505319)
Yeah, I don't see the value in looking through that. At best I'll solve the problem, commit because the code works now, create unit tests, commit them, and then refactor one or both in another commit. That first commit is just ugly and that second holds no additional information that the end product won't have.