mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-11-30 01:17:37 +03:00
Merge pull request #1873 from gitbutlerapp/filter-out-default-target-branch
Filter out default target branch
This commit is contained in:
commit
41c4139555
@ -66,6 +66,7 @@ pub fn list_remote_branches(
|
||||
.context("failed to convert branches")?
|
||||
.into_iter()
|
||||
.flatten()
|
||||
.filter(|branch| branch.name.branch() != Some(default_target.branch.branch()))
|
||||
.collect::<Vec<_>>();
|
||||
|
||||
Ok(remote_branches)
|
||||
|
Loading…
Reference in New Issue
Block a user