gerrit/Documentation/error-invalid-changeid-line.txt
Marian Harbach ebeb15460c Enabling linkattrs explicitly on doc pages having external links
Asciidoc may fail to render link attributes for external links
supposed to open in a new window correctly. This change adds
:linkattrs: to the beginning of such files to force parsing link
attributes correctly.

Bug: Issue 12068
Change-Id: If18be60de646ff78f672239dd4fa435fd4fd92ab
2019-12-13 10:59:57 +00:00

34 lines
1.3 KiB
Plaintext

:linkattrs:
= invalid Change-Id line format in commit message footer
With this error message Gerrit rejects to push a commit if its commit
message footer contains an invalid Change-Id line.
You can see the commit messages for existing commits in the history
by doing a link:http://www.kernel.org/pub/software/scm/git/docs/git-log.html[git log,role=external,window=_blank].
If it was the intention to rework a change and to push a new patch
set, find the change in the Gerrit Web UI, copy its Change-Id line and
use it to correct the invalid Change-Id line in the commit message of
the commit for which the push is failing. How to do this is explained
link:error-push-fails-due-to-commit-message.html#commit_hook[here].
If it was the intention to create a new change in Gerrit simply
remove the invalid Change-Id line from the commit message of the
commit for which the push is failing. How to do this is explained
link:error-push-fails-due-to-commit-message.html#commit_hook[here]. In case you have configured the link:cmd-hook-commit-msg.html[commit hook] a new valid
Change-Id will be automatically generated and inserted.
== SEE ALSO
* link:user-changeid.html[Change-Id Lines]
GERRIT
------
Part of link:error-messages.html[Gerrit Error Messages]
SEARCHBOX
---------