Hacker News new | ask | show | jobs
by rurounijones 3965 days ago
I actually quite like the idea of control codes in commit messages for internal teams where you can implement rules.

It could be useful for highlighting risky commits in red or other visual markers.

Would play merry hell with almost every other way of viewing commits though :D

1 comments

>I actually quite like the idea of control codes in commit messages for internal teams where you can implement rules.

>It could be useful for highlighting risky commits in red or other visual markers.

Yeah... that is really not a good idea. You are not supposed to take this blog post seriously.

Why not just agree on some terminology like CRITICAL/MINOR/SECURITY, which a visual interface can then highlight?

    SECURITY: Fix XSS in spline reticulation
If it detects "SECURITY" it adds a red background, etc. Anyone viewing the raw text version of the commit messages will still get the message without having to see a bunch of gibberish.
> You are not supposed to take this blog post seriously.

And you were not supposed to take my comment seriously... I thought I made that obvious with the last sentence but oh well.