Add warning about changing external IDs manually

External IDs are stored in a notes branch where the note key is the SHA1
of the external ID key. This means if the external ID is changed the
note key must be recomputed.

Change-Id: I41fc1daaf861b4db385ead01a7bf2ab4119617bb
Signed-off-by: Edwin Kempin <ekempin@google.com>
This commit is contained in:
Edwin Kempin 2018-09-20 09:48:03 +02:00
parent 04c987347d
commit 7ff264dcb1

View File

@ -296,6 +296,11 @@ As note key the SHA1 of the external ID key is used. This ensures that
an external ID is used only once (e.g. an external ID can never be an external ID is used only once (e.g. an external ID can never be
assigned to multiple accounts at a point in time). assigned to multiple accounts at a point in time).
[IMPORTANT]
If the external ID key is changed manually you must adapt the note key
to the new SHA1. Otherwise the external ID becomes inconsistent and is
ignored by Gerrit.
The note content is a Git config file: The note content is a Git config file:
---- ----