Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I agree that two-stage commits is a great feature to have. But there are downsides to making it the default.

Obviously, it trips beginners up.

And it encourages committing stuff that may never have coexisted in the working tree - and thus have never been tested together.



I can't think of any reason for someone to commit changes that hadn't been tested in the working tree or at least ran through the test suite before doing so.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: