The user.name and user.email values are taken as-is from the config without any sanitization, which would allow them to be configured with values that may interfere with standard email address parsing. Use JGit's PersonIdent#appendSanitized method to sanitize the values. Change-Id: If9c555aae26f1afcee1ec566154b43b7a11d2c71