pub fn validate_identity_part(value: &str, what: &str) -> Result<()>
Reject values that would corrupt a commit header line.