News for hackers. Stuff that matters.
Re:Test && commit || revert by XorNot on Saturday September 29, 2018 @12:08AM (#18098655)
The popularity of rebase merging in Git I think is partly to blame here. Rebase merging tries to make everything seem like real history, but no one ever seems to have a solid idea of what that actually is supposed to mean (and CI systems don't make it easy to configure "test all commits" or declare what you want your commit history to mean).
Re:Test && commit || revert by Vinnl on Saturday September 29, 2018 @06:57AM (#18099741)
There's no such thing as "real history" - even without rebasing, your commits do not reflect the development of the code; they reflect practically arbitrary moments in time at which you chose to commit.

The idea behind rebasing is not to make it seem like "real history", but to have all changes in a commit to be related. They're not a reflection of how you built the code, but how you can understand it. They're documentation, and as such, you spend effort on them.

Re:Test && commit || revert by jrockway on Saturday September 29, 2018 @12:42AM (#18098748)
Yup. I always picked "merge" instead of "rebase" in Gerrit because it's not like I tested the result of applying each patch to the master branch. All I did was decide that mine worked and that I wanted to merge my branch with the upstream.

People like using clever features to make the history inaccurate, which seems like a bad idea to me. (It's "cleaner", but wrong.)

Re:Test && commit || revert by int0x80 on Saturday September 29, 2018 @02:44AM (#18099043)
If you internally rebase to cleanup history you have to test again. Ignoring that step is wrong. Local rebase can be good and useful.