Show HN: Commit Comments – build commit messages in code comments
1–10 of 28 posts
Re: Show HN: Commit Comments – build commit messages in code comments
#2Re: Show HN: Commit Comments – build commit messages in code comments
#3What advantage does this have over git blame view?
That said, philosophically I'd personally prefer to just commit the small features individually as a set of small commits, therefore you get a better git blame/praise experience with the end result, but I realize there is a wide spectrum of preferences on commit size and style.
Re: Show HN: Commit Comments – build commit messages in code comments
#4What advantage does this have over git blame view?
Git blame displays the last commits that updated your files lines.
This gives you the ability to write your commit description while you code.
Re: Show HN: Commit Comments – build commit messages in code comments
#5What advantage does this have over git blame view?
This builds the initial commit message when you want to commit the pending changes in the index.
Re: Show HN: Commit Comments – build commit messages in code comments
#6What advantage does this have over git blame view?
Presumably the impetus is that if you fix a bunch of small things in a single commit it might be easier to compile the list of small things you changed by noting them as comments as you fix them rather than trying to remember them after the fact when it comes time to write a commit log for that commit. That said, philosophically I'd personally prefer to just commit the small features individually as a set of small co…
However, many of my peers and co-workers have a hard time following the small-commit workflow, so this project is really for them.
Being able to mark small (but significant) changes in your code as you code definitely helps reduce some ambiguity in commit messages.
Re: Show HN: Commit Comments – build commit messages in code comments
#7Is this not the common way most people commit?
Re: Show HN: Commit Comments – build commit messages in code comments
#8Earlier quoted context omitted.
Presumably the impetus is that if you fix a bunch of small things in a single commit it might be easier to compile the list of small things you changed by noting them as comments as you fix them rather than trying to remember them after the fact when it comes time to write a commit log for that commit. That said, philosophically I'd personally prefer to just commit the small features individually as a set of small co…
Yes, that was my intention when making this project. I prefer the practice of making very small changes and committing frequently with opulent use of branches. However, many of my peers and co-workers have a hard time following the small-commit workflow, so this project is really for them. Being able to mark small (but significant) changes in your code as you code definitely helps reduce some ambiguity in commit mess…
Re: Show HN: Commit Comments – build commit messages in code comments
#9Re: Show HN: Commit Comments – build commit messages in code comments
#10Presumably this is so you don't forget about a bunch of small changes when making a large commit. However, for me, right before I do a commit, I always do a diff to make sure what I'm about to commit is what I intended to, which has the nice side effect of seeing all the changes and reminding me for the commit message. Is this not the common way most people commit?