3 ms·
Untested commits should never exist, so why are we creating commits from abstracted storage that can't even be built and tested? Staging should happen in the wo
by erik_seaberg 8y ago
Untested commits should never exist, so why are we creating commits from abstracted storage that can't even be built and tested? Staging should happen in the workspace, stashing stuff that's not ready to commit.
- DaiPlusPlus 8y ago> Untested commits should never exist Says who? Branches and commits are cheap, it's how we can undo ourselves and freely experiment. I agree that untested commits into a publishing/release branch shouldn't exist: all commits there should be merges from dev branches, but to say every commit should be tested is utter bollocks and denies us the advantages of cheap branching and commits.
- bzbarsky 8y ago> all commits there should be merges from dev branches Either they need to be squash+merge or the dev branches need to end up with working commits before the merge. Otherwise your life will become hell the first time you need to bisect.