gerrit/Documentation/error-not-signed-off-by.txt
David Pursehouse a68769eb4f Clarify error messages related to commit message footer content
Commits can be rejected due to the following issues in the commit
message:

- Change-Id tag is missing or incorrectly formatted
- Multiple Change-Id tags are present
- Signed-off-by tag is missing or does not specify the correct user

However the error messages raised in these cases do not make it clear
that the required tags are expected to be found in the footer (last
paragraph) of the commit message.

Update the error messages and related documentation to explicitly
mention that the tags should be in the commit message footer.

Change-Id: I7d2d2dfb66bed3697745733c4fe19c177e9bc56b
2012-11-13 12:18:16 +09:00

32 lines
1.6 KiB
Plaintext

not Signed-off-by author/committer/uploader in commit message footer
====================================================================
Projects in Gerrit can be configured to require a link:user-signedoffby.html#Signed-off-by[Signed-off-by] in
the footer of the commit message to enforce that every change is signed by the
author, committer or uploader. If for a project a Signed-off-by is
required and the commit message footer does not contain it, Gerrit rejects
to push the commit with this error message.
This policy can be bypassed by having the access right
link:access-control.html#category_forge_committer['Forge Committer'].
This error may happen for different reasons if you do not have the
access right to forge the committer identity:
. missing Signed-off-by in the commit message footer
. Signed-off-by is contained in the commit message footer but it's neither
from the author, committer nor uploader
. Signed-off-by from the author, committer or uploader is contained
in the commit message but not in the footer (last paragraph)
To be able to push your commits you have to update the commit
messages as explained link:error-push-fails-due-to-commit-message.html[here] so that they contain a Signed-off-by from
the author, committer or uploader in the last paragraph. However it
is important that you only add a Signed-off-by if you understand the
semantics of the link:user-signedoffby.html#Signed-off-by[Signed-off-by] and the commit applies to the rules
that are connected with this footer.
GERRIT
------
Part of link:error-messages.html[Gerrit Error Messages]