3 ms·
My biggest problem with rebase is I have often found commits in the middle of a rebased sequence which don't build -- which makes sense as after rebasing you en
by CJefferson 7y ago
My biggest problem with rebase is I have often found commits in the middle of a rebased sequence which don't build -- which makes sense as after rebasing you end up with commits which have never been tested, and never "existed" before.
- chinhodado 7y agoAre you talking about checking out older commits and building them e.g. while doing bisect? Otherwise I can't think of a use case for building commits in the middle of a rebase sequence.
- CJefferson 7y agoAs you say, checking out or bisecting. If you don't think this intermediate commits will ever have value, in my opinion you may as well squash them. I have, on some occasions, run at least basic tests on all commits in a rebased branch but few people bother (and with github, where someone merges a PR by rebase, it would be obvious there was a problem until it was too late).