Skip to content

Comment on Show HN: Commit Comments – build commit messages in code comments

Comments

doesn't this encourage the bad practice of doing large commits containing multiple things instead of independent and discrete changes?

i guess its still very useful if you are working somewhere where that bad practice is enforced.

It could probably be abused in the way you describe. But I'm not sure it encourages it. I think it's a clever idea and seems like it could be handy even if you do nice, tidy commits.

well, it seems not very useful if you are doing a discrete piece of work because you have one short comment to make, not a list...

maybe encourage is the wrong word, but it seems like a useless tool if you are doing things in (what i perceive to be) the right way.

Agreed. My motivation for making this was the complete lack of detail in my peers' commit messages. They had no problem writing a semi-descriptive commit title, but glossed over numerous (yet small) changes entirely.

Ironically, this project I would not use myself! Mostly because I am in the practice of the Git workflow.

My goal was to make something which was easy to use, and gets someone in the habit of thinking about/listing all changes in a commit.

I certainly hope I'm not encouraging the bad behavior I'm trying to prevent!

i think encourage was the wrong word.

i can still see it being useful, like i said. well done for making something and sharing it like this.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.