Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Voxera113886yIts a bit harsh but on the other hand, if you need to look at the history its the commit messages you see.
Both should be clear and relevant.
I more than once have found commit messages like “stuff” “to much to write” and such.
Those days I actually would side with your colleague ;)
But I guess he has a standard quite a bit above that. And from your rant, probably to high. -
@Voxera I was under impression OP meant commit contents, not the message. If it's message we're talking about then I agree with the reviewer. But if we're talking about commit contents then I'm with OP.
-
You guys don't just squash before merging? Only reason I see to keep an ancestor commit is if it contained some previously agreed upon design that you want to keep in the upstream for documentation purpose.
-
LombArd4926y@netikras no, I totally agree with meaningless messages, they need to describe changes.
I am talking about the content of a commit. Say I made a commit removing something, then another adding the line again as I made a mistake, he would not approve it -
LombArd4926y@beegC0de no it's not squashed prior to that, at the merge request it's comprised of multiple commits but squashed after approval and merging takes place (GitLab option)
A new colleague of mine says he reads not the changes, but each commit, and will not approve if one commit wasn't good. Have you ever heard that before?
rant