News for hackers. Stuff that matters.
Re:My Favourite Git Commit by blaisio on Friday October 18, 2019 @04:49PM (#21294959)
Yes! I thought this was a great idea.

The other thing I do is add a "MODULE:" prefix to my commit message. It makes them way more readable. Lots of other people do this too; you can see this in Redis, Linux, and Go codebases, for example.

So your message might look like "router: add support for path vars". Much easier to read than "Add support for path vars to router"

Re:My Favourite Git Commit by lugg on Friday October 18, 2019 @06:01PM (#21295408)
Wanted to mention this.

I don't stick to it as a rule but if it's clearly grouped in some way it gives people in the wider org a high level fyi about the area of code you're messing with.

Makes it easy to jump over the commit when bisecting for regressions or hastily looking for the buggy commit to revert.