6 ms·
not every single commit needs to pass every single test besides CI only needs to test the merge commit
by cerved 5y ago
not every single commit needs to pass every single test
besides CI only needs to test the merge commit
- yencabulator 5y agoIf every commit passes tests, tools like `git bisect` are much more useful.
- cerved 5y agohow do you mean?
- yencabulator 5y agoIf you find a new bug, git bisect can very quickly find which commit introduced the bug, and understanding the origin makes fixing the bug easier. That mechanism does not work nearly as well if some commits are not in a usable state.
- cerved 5y agobut if that is the case why not just git bisect skip $(git merge-base main branch) ? to me, squashing the tree to simplify an edge case seems needlessly radical