Skip to content

Commit

Permalink
cli: do not stringify git2::Error too early
Browse files Browse the repository at this point in the history
  • Loading branch information
yuja committed Nov 5, 2024
1 parent 8588983 commit 762b1c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/src/git_util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}

Expand Down

0 comments on commit 762b1c5

Please sign in to comment.