diff --git a/lib/src/git.rs b/lib/src/git.rs index c480d6506..dc5d9a271 100644 --- a/lib/src/git.rs +++ b/lib/src/git.rs @@ -319,7 +319,7 @@ pub enum GitPushError { NoSuchRemote(String), #[error("Push is not fast-forwardable")] NotFastForward, - #[error("Remote reject the update of some refs")] + #[error("Remote rejected the update of some refs (do you have permission to push to {0:?}?)")] RefUpdateRejected(Vec), // TODO: I'm sure there are other errors possible, such as transport-level errors, // and errors caused by the remote rejecting the push.