mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2025-01-06 01:27:24 +03:00
🔨 chore: add support for proxying upstream branch in proxy_virtual_branch
method
This commit is contained in:
parent
1925a06ce0
commit
40d24641db
@ -75,6 +75,11 @@ impl Proxy {
|
||||
|
||||
pub async fn proxy_virtual_branch(&self, branch: VirtualBranch) -> VirtualBranch {
|
||||
VirtualBranch {
|
||||
upstream: if let Some(upstream) = branch.upstream {
|
||||
Some(self.proxy_remote_branch(upstream).await)
|
||||
} else {
|
||||
None
|
||||
},
|
||||
commits: join_all(
|
||||
branch
|
||||
.commits
|
||||
|
Loading…
Reference in New Issue
Block a user