mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-11-30 01:17:37 +03:00
Merge pull request #2003 from gitbutlerapp/update-force-push-error-message
Update force push error message
This commit is contained in:
commit
472c2cac21
@ -189,10 +189,7 @@ impl From<ForcePushNotAllowedError> for Error {
|
||||
fn from(value: ForcePushNotAllowedError) -> Self {
|
||||
Error::UserError {
|
||||
code: crate::error::Code::Branches,
|
||||
message: format!(
|
||||
"Action will lead to force pushing, which is not allowed for project {}",
|
||||
value.project_id
|
||||
),
|
||||
message: "Action will lead to force pushing, which is not allowed for this".to_string(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user