Skip to contentSkip to conversation

SubmittingPatches: Clarify the Signed-off-by rules

PATCH In review Ævar Arnfjörð Bjarmason 3 participants 3 messages Jun 15, 2016 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 SubmittingPatches: Clarify the Signed-off-by rules

The wording of the Signed-off-by rules could be read as stating that S-O-B should only be added when the submitter considered the patch ready for inclusion in git.git.

We also want Signed-off-by to be used for e.g. RFC patches, in case someone wants to dig an old patch out of the archive and improve it. Change the wording to recommend a Signed-off-by for all submitted patches.

The problem with the wording came up in the "[PATCH/RFC] Hacky version of a glob() driven config include" thread[1]. Bert Wesarg suggested[2] that it be removed to avoid confusion, which this change implements.

1. <[email protected]>
2. <[email protected]>

---
 Documentation/SubmittingPatches |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)
Documentation/SubmittingPatches +3 -5
index 099b238..ece3c77 100644
@@ -14,11 +14,9 @@ Checklist (and a short version for the impatient):
 		  not "changed" or "changes".
 		- includes motivation for the change, and contrasts
 		  its implementation with previous behaviour
-	- if you want your work included in git.git, add a
-	  "Signed-off-by: Your Name <[email protected]>" line to the
-	  commit message (or just use the option "-s" when
-	  committing) to confirm that you agree to the Developer's
-	  Certificate of Origin
+	- add a "Signed-off-by: Your Name <[email protected]>" line to the
+	  commit message (or just use the option "-s" when committing)
+	  to confirm that you agree to the Developer's Certificate of Origin
 	- make sure that you have tests for the bug you are fixing
 	- make sure that the test suite passes after your commit
 
Signature · 1 line
1.7.0.4
#1 lore raw
Quoted 8 lines · Ævar Arnfjörð Bjarmason

The wording of the Signed-off-by rules could be read as stating that S-O-B should only be added when the submitter considered the patch ready for inclusion in git.git.

We also want Signed-off-by to be used for e.g. RFC patches, in case someone wants to dig an old patch out of the archive and improve it. Change the wording to recommend a Signed-off-by for all submitted patches.

Ok. In the past, some people (including Linus) used the lack of sign-off as a hint to say it is not meant for inclusion, but I always considered it a bad practice ("RFC" or whatever word next to "PATCH" in bracket would be far more descriptive). I think this is a good change.

Thanks.

Acked-by on v1 1/1
#2 lore raw
In reply to Ævar Arnfjörð Bjarmason
Quoted 4 lines · Ævar Arnfjörð Bjarmason

The wording of the Signed-off-by rules could be read as stating that S-O-B should only be added when the submitter considered the patch ready for inclusion in git.git.

Quoted 9 lines

We also want Signed-off-by to be used for e.g. RFC patches, in case someone wants to dig an old patch out of the archive and improve it. Change the wording to recommend a Signed-off-by for all submitted patches.

The problem with the wording came up in the "[PATCH/RFC] Hacky version of a glob() driven config include" thread[1]. Bert Wesarg suggested[2] that it be removed to avoid confusion, which this change implements.

Thanks for resurrecting this.

Quoted 32 lines

 1. <[email protected]>
 2. <[email protected]>

---
 Documentation/SubmittingPatches |    8 +++-----

 1 files changed, 3 insertions(+), 5 deletions(-)
Documentation/SubmittingPatches +0 -0
index 099b238..ece3c77 100644
@@ -14,11 +14,9 @@ Checklist (and a short version for the impatient):

                 not "changed" or "changes".
               - includes motivation for the change, and contrasts its implementation with previous behaviour
-       - if you want your work included in git.git, add a
-         "Signed-off-by: Your Name <[email protected]>" line to the
-         commit message (or just use the option "-s" when
-         committing) to confirm that you agree to the Developer's
-         Certificate of Origin
+       - add a "Signed-off-by: Your Name <[email protected]>" line to the
+         commit message (or just use the option "-s" when committing)
+         to confirm that you agree to the Developer's Certificate of Origin
       - make sure that you have tests for the bug you are fixing
       - make sure that the test suite passes after your commit

--
1.7.0.4