News for hackers. Stuff that matters.
Re:Show HN: Commit Comments – build commit messages in code ... by jheriko on Thursday January 14, 2016 @03:30PM (#10904222)
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.

Re:Show HN: Commit Comments – build commit messages in code ... by davegauer on Thursday January 14, 2016 @03:38PM (#10904288)
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.
Re:Show HN: Commit Comments – build commit messages in code ... by jheriko on Thursday January 14, 2016 @04:26PM (#10904616)
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.

Re:Show HN: Commit Comments – build commit messages in code ... by Zezima on Thursday January 14, 2016 @04:50PM (#10904815)
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!

Re:Show HN: Commit Comments – build commit messages in code ... by jheriko on Friday January 15, 2016 @07:20AM (#10908815)
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.