cli: do not stringify git2::Error too early

This commit is contained in:
Yuya Nishihara 2024-11-05 22:55:03 +09:00
parent 8588983593
commit 762b1c509a

View file

@ -62,7 +62,7 @@ pub fn map_git_error(err: git2::Error) -> CommandError {
user_error_with_hint(err, hint)
} else {
user_error(err.to_string())
user_error(err)
}
}