This commit is contained in:
Nikita Galaiko 2023-10-19 10:37:09 +02:00 committed by GitButler
parent f3decc57e0
commit cddc3e0fff

View File

@ -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