Skip to content

Commit 08e2e6f

Browse files
jsorefgitster
authored andcommitted
SubmittingPatches: provide tag naming advice
Current statistics show a strong preference to only capitalize the first letter in a hyphenated tag, but that some guidance would be helpful: git log | perl -ne 'next unless /^\s+(?:Signed-[oO]ff|Acked)-[bB]y:/; s/^\s+//;s/:.*/:/;print'| sort|uniq -c|sort -n 2 Signed-off-By: 4 Signed-Off-by: 22 Acked-By: 47 Signed-Off-By: 2202 Acked-by: 95315 Signed-off-by: Signed-off-by: Josh Soref <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent c771ef6 commit 08e2e6f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Documentation/SubmittingPatches

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,9 @@ While you can also create your own trailer if the situation warrants it, we
368368
encourage you to instead use one of the common trailers in this project
369369
highlighted above.
370370

371+
Only capitalize the very first letter of tags, i.e. favor
372+
"Signed-off-by" over "Signed-Off-By" and "Acked-by:" over "Acked-By".
373+
371374
[[git-tools]]
372375
=== Generate your patch using Git tools out of your commits.
373376

0 commit comments

Comments
 (0)