4fc2a52980
Some users that are new to Git and Gerrit manage to create commits without subject and message, but with a Change-Id footer. This happens mainly from EGit where the Change-Id footer is inserted automatically and users just confirm the commit dialog without typing any subject or message. This results in a commit message that looks like this: " Change-Id: I4bcf4f0bd8ed8da41ce53efd7298b80cec492d64 " Pushing this change for review if Change-Id is required results in the following error message: "remote: ERROR: missing Change-Id in commit message footer remote: Suggestion for commit message: remote: remote: Change-Id: I4bcf4f0bd8ed8da41ce53efd7298b80cec492d64" This confuses the users since a) they have a Change-Id in the commit message and b) the suggested commit message looks like the existing commit message. Handle this special case and provide a specific error message: "missing subject, Change-Id must be in commit message footer" Change-Id: I4bcf4f0bd8ed8da41ce53efd7298b80cec492d64 Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
51 lines
2.3 KiB
Plaintext
51 lines
2.3 KiB
Plaintext
= Gerrit Code Review - Error Messages
|
|
|
|
This page provides access to detailed explanations of Gerrit error
|
|
messages. For each error message it is explained why the error is
|
|
occurring and what can be done to solve it.
|
|
|
|
|
|
== Error Messages
|
|
|
|
* link:error-branch-not-found.html[branch ... not found]
|
|
* link:error-change-closed.html[change ... closed]
|
|
* link:error-change-does-not-belong-to-project.html[change ... does not belong to project ...]
|
|
* link:error-change-not-found.html[change ... not found]
|
|
* link:error-commit-already-exists.html[commit already exists]
|
|
* link:error-contains-banned-commit.html[contains banned commit ...]
|
|
* link:error-has-duplicates.html[... has duplicates]
|
|
* link:error-invalid-author.html[invalid author]
|
|
* link:error-invalid-changeid-line.html[invalid Change-Id line format in commit message footer]
|
|
* link:error-invalid-committer.html[invalid committer]
|
|
* link:error-missing-changeid.html[missing Change-Id in commit message footer]
|
|
* link:error-missing-subject.html[missing subject; Change-Id must be in commit message footer]
|
|
* link:error-multiple-changeid-lines.html[multiple Change-Id lines in commit message footer]
|
|
* link:error-no-changes-made.html[no changes made]
|
|
* link:error-no-common-ancestry.html[no common ancestry]
|
|
* link:error-no-new-changes.html[no new changes]
|
|
* link:error-non-fast-forward.html[non-fast forward]
|
|
* link:error-not-a-gerrit-administrator.html[Not a Gerrit administrator]
|
|
* link:error-not-permitted-to-create.html[Not permitted to create ...]
|
|
* link:error-not-signed-off-by.html[not Signed-off-by author/committer/uploader in commit message footer]
|
|
* link:error-not-valid-ref.html[not valid ref]
|
|
* link:error-change-upload-blocked.html[One or more refs/for/ names blocks change upload]
|
|
* link:error-permission-denied.html[Permission denied (publickey)]
|
|
* link:error-prohibited-by-gerrit.html[prohibited by Gerrit]
|
|
* link:error-project-not-found.html[Project not found: ...]
|
|
* link:error-squash-commits-first.html[squash commits first]
|
|
* link:error-upload-denied.html[Upload denied for project \'...']
|
|
* link:error-not-allowed-to-upload-merges.html[you are not allowed to upload merges]
|
|
|
|
|
|
== General Hints
|
|
|
|
* link:error-push-fails-due-to-commit-message.html[push fails due to commit message]
|
|
|
|
|
|
GERRIT
|
|
------
|
|
Part of link:index.html[Gerrit Code Review]
|
|
|
|
SEARCHBOX
|
|
---------
|