mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2025-01-06 01:27:24 +03:00
no error is branch is already applied
This commit is contained in:
parent
cb37cbadfb
commit
49d5295911
@ -2092,8 +2092,9 @@ pub fn is_virtual_branch_mergeable(
|
||||
let branch = branch_reader
|
||||
.read(branch_id)
|
||||
.context("failed to read branch")?;
|
||||
|
||||
if branch.applied {
|
||||
bail!("branch {} is applied", branch.name);
|
||||
return Ok(true);
|
||||
}
|
||||
|
||||
let default_target = get_default_target(¤t_session_reader)
|
||||
|
Loading…
Reference in New Issue
Block a user