git: remove trailing single quotes from error messages

This commit is contained in:
Martin von Zweigbergk 2021-08-11 08:16:19 -07:00
parent 81ba65e3a5
commit 4594932fc0

View file

@ -158,9 +158,9 @@ pub fn fetch(
pub enum GitPushError {
#[error("No git remote named '{0}'")]
NoSuchRemote(String),
#[error("Push is not fast-forwardable'")]
#[error("Push is not fast-forwardable")]
NotFastForward,
#[error("Remote reject the update'")]
#[error("Remote reject the update")]
RefUpdateRejected,
// TODO: I'm sure there are other errors possible, such as transport-level errors,
// and errors caused by the remote rejecting the push.