From: Stewart Smith <stewart@linux.vnet.ibm.com>
To: Peng Fei BG Gou <shgoupf@cn.ibm.com>
Cc: openbmc-patches@stwcx.xyz, openbmc@lists.ozlabs.org
Subject: Re: [PATCH phosphor-host-ipmid v2 1/5] Add get/set ipmid command support with correct DBUS property handling.
Date: Wed, 16 Dec 2015 22:28:29 +1100 [thread overview]
Message-ID: <87k2oe7huq.fsf@birb.au.ibm.com> (raw)
In-Reply-To: <201512161003.tBGA3f0Y023599@d23av02.au.ibm.com>
Peng Fei BG Gou <shgoupf@cn.ibm.com> writes:
> I'm sorry that for my commits I only have "1 line" comments for them.
> I will try to fix them by changing the comments that already been
> committed. But there are plenty of commits that is "1 line" comments
> as below. So would you mind telling me in what situation I am allowed
> to have "1 line" comment and in what situation I need to have a
> multiple-line comment?
Yeah, there's a lot of poor commit messages in OpenBMC so far, which
gives you the opportunity to be much better than others!
Personally, my guide is: if someone casually familiar with the project
and concepts can see that the patch is obviously correct in less than
four seconds, a one line commit message is okay.
My goal for a commit message is to give enough information to someone
casually familiar with the project and subject matter enough to go and
start to learn enough to completely understand the patch.
Even then, sometimes a bit more info is useful.
For example:
https://github.com/open-power/skiboot/commit/d4b142823e28deed097cf79b25d8d1e60b6f4e67
An example of single line commit message:
https://github.com/open-power/skiboot/commit/916196d4cc0e070369ff6aa1363fa39339f8cad1
(which is just adding release notes, so it's *obvious* what this patch
does)
Or
https://github.com/torvalds/linux/commit/5c477b45792fb8ccd279162483aa57cc8ee40ae1
which is just the wiring up of a new syscall for PARISC.
next prev parent reply other threads:[~2015-12-16 11:29 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-15 22:20 [PATCH phosphor-host-ipmid v2 0/5] IPMID boot options changes OpenBMC Patches
2015-12-15 22:20 ` [PATCH phosphor-host-ipmid v2 1/5] Add get/set ipmid command support with correct DBUS property handling OpenBMC Patches
2015-12-16 6:21 ` Stewart Smith
2015-12-16 6:26 ` Peng Fei BG Gou
[not found] ` <201512160627.tBG6RTg8006339@d23av06.au.ibm.com>
2015-12-16 6:57 ` Stewart Smith
2015-12-16 10:02 ` Peng Fei BG Gou
[not found] ` <201512161003.tBGA3f0Y023599@d23av02.au.ibm.com>
2015-12-16 11:28 ` Stewart Smith [this message]
2015-12-16 13:05 ` Peng Fei BG Gou
2015-12-15 22:20 ` [PATCH phosphor-host-ipmid v2 2/5] Revert "Add get/set ipmid command support with correct DBUS property handling." OpenBMC Patches
2015-12-15 22:20 ` [PATCH phosphor-host-ipmid v2 3/5] Redo: Add get/set ipmid boot option command support with correct DBUS property handling OpenBMC Patches
2015-12-15 22:20 ` [PATCH phosphor-host-ipmid v2 4/5] Cleanup codes for ipmid boot option changes OpenBMC Patches
2015-12-15 22:20 ` [PATCH phosphor-host-ipmid v2 5/5] Get service name via object mapper OpenBMC Patches
2015-12-16 6:20 ` [PATCH phosphor-host-ipmid v2 0/5] IPMID boot options changes Stewart Smith
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k2oe7huq.fsf@birb.au.ibm.com \
--to=stewart@linux.vnet.ibm.com \
--cc=openbmc-patches@stwcx.xyz \
--cc=openbmc@lists.ozlabs.org \
--cc=shgoupf@cn.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.