mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-03 15:33:13 +03:00
cranky
This commit is contained in:
parent
f3decc57e0
commit
cddc3e0fff
@ -199,7 +199,7 @@ pub fn branch_to_remote_branch(
|
||||
|
||||
Ok(RemoteBranch {
|
||||
sha,
|
||||
upstream: if let git::BranchName::Local(ref local_name) = name {
|
||||
upstream: if let git::BranchName::Local(local_name) = &name {
|
||||
local_name.remote().cloned()
|
||||
} else {
|
||||
None
|
||||
|
Loading…
Reference in New Issue
Block a user