
The SHA1 of an external ID is used as note ID in the refs/meta/external-ids branch. This ensures that external IDs are unique. However we must treat external IDs as invalid if the SHA1 of their key doesn't match the note ID under which they are stored. Change-Id: I3f4b27655098fa863f38c8852cf1de090796d3a2 Signed-off-by: Edwin Kempin <ekempin@google.com>