git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Question about commit message conventions
@ 2006-10-24 13:49 Tobias Toedter
  2006-10-24 14:08 ` Jakub Narebski
  2006-10-24 14:08 ` Erik Mouw
  0 siblings, 2 replies; 6+ messages in thread
From: Tobias Toedter @ 2006-10-24 13:49 UTC (permalink / raw)
  To: git

[-- Attachment #1: Type: text/plain, Size: 919 bytes --]

Hi,

although I've read the documentation of git very carefully, I could not find 
anything related to certain commit message conventions. It would be great 
if someone here could explain a few things, maybe this could be added to 
the wiki afterwards (<http://git.or.cz/gitwiki/CommitMessageConventions>).

First of all, what's the intended use of the "Signed-off-by:" lines? Does it 
make sense to add my name there, even when I'm listed as the author or 
committer of a commit? I thought that they are intended mostly to note the 
approval of other developers.

On the other hand, concerning the approval of other developers, what's the 
difference between "Signed-off-by:" and "Acked-by:"? Are there any 
more "*-by:" fields that are in use?

Regards,
Tobias

-- 
Tobias Toedter   | "I don't care to belong to a club that accepts people
Hamburg, Germany | like me as members." -- Groucho Marx

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Question about commit message conventions
  2006-10-24 13:49 Question about commit message conventions Tobias Toedter
@ 2006-10-24 14:08 ` Jakub Narebski
  2006-10-24 14:14   ` Tobias Toedter
  2006-10-24 14:08 ` Erik Mouw
  1 sibling, 1 reply; 6+ messages in thread
From: Jakub Narebski @ 2006-10-24 14:08 UTC (permalink / raw)
  To: git

Tobias Toedter wrote:

> Hi,
> 
> although I've read the documentation of git very carefully, I could not find 
> anything related to certain commit message conventions. It would be great 
> if someone here could explain a few things, maybe this could be added to 
> the wiki afterwards (<http://git.or.cz/gitwiki/CommitMessageConventions>).
> 
> First of all, what's the intended use of the "Signed-off-by:" lines? Does it 
> make sense to add my name there, even when I'm listed as the author or 
> committer of a commit? I thought that they are intended mostly to note the 
> approval of other developers.
> 
> On the other hand, concerning the approval of other developers, what's the 
> difference between "Signed-off-by:" and "Acked-by:"? Are there any 
> more "*-by:" fields that are in use?

>From Documentation/SubmittingPatches:

(6) Sign your work
[...]
The sign-off is a simple line at the end of the explanation for
the patch, which certifies that you wrote it or otherwise have
the right to pass it on as a open-source patch.


"Acked-by:" is used to notify that patch was accepted by somebody,
which usually is maintainer of part affected by patch.

I have seen exactly on "Cheered-on-by:", and there are probably some
"Noticed-by:" there.
-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Question about commit message conventions
  2006-10-24 13:49 Question about commit message conventions Tobias Toedter
  2006-10-24 14:08 ` Jakub Narebski
@ 2006-10-24 14:08 ` Erik Mouw
  2006-10-25 15:23   ` Andreas Ericsson
  1 sibling, 1 reply; 6+ messages in thread
From: Erik Mouw @ 2006-10-24 14:08 UTC (permalink / raw)
  To: Tobias Toedter; +Cc: git

On Tue, Oct 24, 2006 at 03:49:44PM +0200, Tobias Toedter wrote:
> although I've read the documentation of git very carefully, I could not find 
> anything related to certain commit message conventions. It would be great 
> if someone here could explain a few things, maybe this could be added to 
> the wiki afterwards (<http://git.or.cz/gitwiki/CommitMessageConventions>).
> 
> First of all, what's the intended use of the "Signed-off-by:" lines? Does it 
> make sense to add my name there, even when I'm listed as the author or 
> committer of a commit? I thought that they are intended mostly to note the 
> approval of other developers.

See Documentation/SubmittingPatches. You basically say you have the
right to submit the patch.

> On the other hand, concerning the approval of other developers, what's the 
> difference between "Signed-off-by:" and "Acked-by:"? Are there any 
> more "*-by:" fields that are in use?

Acked-by is usually used when someone (not the upstream maintainer the
patch was send to) agrees with the patch. I.e.: (s)he says the content
of the patch is OK without actually acknowledging something about the
right to submit.


Erik

-- 
+-- Erik Mouw -- www.harddisk-recovery.com -- +31 70 370 12 90 --
| Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Question about commit message conventions
  2006-10-24 14:08 ` Jakub Narebski
@ 2006-10-24 14:14   ` Tobias Toedter
  0 siblings, 0 replies; 6+ messages in thread
From: Tobias Toedter @ 2006-10-24 14:14 UTC (permalink / raw)
  To: git

[-- Attachment #1: Type: text/plain, Size: 370 bytes --]

On Tuesday 24 October 2006 16:08, Jakub Narebski wrote:
> Tobias Toedter wrote:
> > although I've read the documentation of git very carefully
[...] 
> From Documentation/SubmittingPatches:

D'oh! Thanks.

Regards,
Tobias

-- 
Tobias Toedter   | "I don't care to belong to a club that accepts people
Hamburg, Germany | like me as members." -- Groucho Marx

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Question about commit message conventions
  2006-10-24 14:08 ` Erik Mouw
@ 2006-10-25 15:23   ` Andreas Ericsson
  2006-10-25 18:48     ` Junio C Hamano
  0 siblings, 1 reply; 6+ messages in thread
From: Andreas Ericsson @ 2006-10-25 15:23 UTC (permalink / raw)
  To: Erik Mouw; +Cc: Tobias Toedter, git

Erik Mouw wrote:
> On Tue, Oct 24, 2006 at 03:49:44PM +0200, Tobias Toedter wrote:
> 
>> On the other hand, concerning the approval of other developers, what's the 
>> difference between "Signed-off-by:" and "Acked-by:"? Are there any 
>> more "*-by:" fields that are in use?
> 
> Acked-by is usually used when someone (not the upstream maintainer the
> patch was send to) agrees with the patch. I.e.: (s)he says the content
> of the patch is OK without actually acknowledging something about the
> right to submit.
> 

If you sift through the Linux kernel, you will find numerous patches 
where subsystem maintainers have acked patches sent to them. I *think* 
this usually means that they have reviewed the patch and approve of it, 
but not modified it. The Ack is then solely for Linus' benefits and 
tells him that at least one pair of eyes have already gone over the patch.

Subsys maintainers sometimes also add Signed-off-by: lines, which I 
assume means they have tweaked the patch somewhat or somehow 
collaborated with the author in producing it. I know Junio signs off 
patches he modifies, and I'm guessing this habit is inherited from the 
kernel workflow which was most likely encouraged by Linus when he was 
the Git maintainer.

Lots of guesswork here, but in a sane world I can't be too far off the 
mark ;-)

-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Question about commit message conventions
  2006-10-25 15:23   ` Andreas Ericsson
@ 2006-10-25 18:48     ` Junio C Hamano
  0 siblings, 0 replies; 6+ messages in thread
From: Junio C Hamano @ 2006-10-25 18:48 UTC (permalink / raw)
  To: Andreas Ericsson; +Cc: git

Andreas Ericsson <ae@op5.se> writes:

> If you sift through the Linux kernel, you will find numerous patches
> where subsystem maintainers have acked patches sent to them. I *think*
> this usually means that they have reviewed the patch and approve of
> it, but not modified it. The Ack is then solely for Linus' benefits
> and tells him that at least one pair of eyes have already gone over
> the patch.

Correct.

> Subsys maintainers sometimes also add Signed-off-by: lines, which I
> assume means they have tweaked the patch somewhat or somehow
> collaborated with the author in producing it.
>...
> Lots of guesswork here, but in a sane world I can't be too far off the
> mark ;-)

Documentation/SubmittingPatches makes it unnecessary to make any
guesses on S-o-b lines.  Regarding subsystem maintainer
sign-offs, you are referring to DCO 1.1 (b), but the signature
could have been made under DCO 1.1 (c).

In plain terms, the signer vouches that the patch was passed
either intact or with modifications but the original and
modifications are both releasable, to the best of signer's
knowledge, under open source terms.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-10-25 18:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-24 13:49 Question about commit message conventions Tobias Toedter
2006-10-24 14:08 ` Jakub Narebski
2006-10-24 14:14   ` Tobias Toedter
2006-10-24 14:08 ` Erik Mouw
2006-10-25 15:23   ` Andreas Ericsson
2006-10-25 18:48     ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).