4 ms·
That pisses me off but the following is much worse. The commit comment that goes: "checked in abstract_class.cpp" Duh!
by bananas 12y ago
That pisses me off but the following is much worse. The commit comment that goes:
"checked in abstract_class.cpp"
Duh!
- lmm 12y agoI do that a lot, or rather my commit messages are usually "mumble" or "fixed this" or "awookga". I feel this is more justified than the javadoc case because you can always just leave out javadoc, whereas the VCS forces me to put a commit message.
- MBlume 12y agoI sincerely hope that you and I never work on the same project =(
- lomnakkus 12y agoJust a humble suggestion, but perhaps you should enter a message which states the intent or the functionality of the change more explicitly. (If you're just doing a topic branch, then sure, just say "wip" or "blah", but please clean it up with "git rebase -i" before merging.)
- sbilstein 12y agoYes, even something trivial like "fixes whitespace" is better then nothing, but even better is squashing or amending a previous commit. Some systems prevent this...at my workplace once you've pushed to origin, there is no changing the past so saying something like "Added derp.java to fix broken build from <commit hash>" is very helpful.
- lmm 12y agoAlways topic branches yeah. My team puts that kind of information in the pull request, which ends up playing the role that a commit would in SVN or the like. I guess we could squash our merges to achieve the same effect, but we haven't felt the need yet - the pull request is a nicer interface than a git log.