News for hackers. Stuff that matters.
Re:The Perfect Commit by int0x2e on Sunday October 30, 2022 @01:11AM (#33391298)
In my experience, this only works if you have a small team of great engineers. Once you have 50+ people of various skill levels making contributions to the codebase, you'll start seeing your git history littered with variants of "fix", "fix 2", "fix broken CI test" and on and on...

For me, the PR is the context I can use when trying to find an issue. Sifting through many hundreds of commits per day is painful. Sifting through tens of PRs per day is not great, but is much more manageable...

Re:The Perfect Commit by seba_dos1 on Sunday October 30, 2022 @01:20AM (#33391339)
> you'll start seeing your git history littered with variants of "fix", "fix 2", "fix broken CI test" and on and on...

Should such commits even pass through the review in the first place?

Re:The Perfect Commit by m000 on Sunday October 30, 2022 @06:01AM (#33392931)
If the team hasn't agreed to not allow this kind of messages, they will get through. And if you're the only one asking for better messages, your colleagues will start seeing you as pushy, and the requested changes as personal favors.

The problem is that if good commit practices aren't established very early in the project, they're unlikely to be adopted later when the team grows (assuming that the whole team has a say on the decision).