pub fn resolve_author(name: &str, email: &str, agent: &str) -> (String, String)Expand description
Resolve the effective git author name and email for a merge commit. Falls back to the agent identity when the caller supplies empty or all-stripped strings. Sanitization runs BEFORE the emptiness check so that inputs like ā\nā correctly fall back to the agent identity.