mirror of
https://github.com/danbulant/lucide
synced 2026-06-22 00:01:51 +00:00
fix: add origin/ to remote branch (#87)
This commit is contained in:
parent
c99fd33919
commit
8b54e9a145
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ pub fn git_version_tags(repository: &Repository) -> Result<Vec<Version>, Box<dyn
|
|||
|
||||
pub fn git_has_remote_branch(repository: &Repository, branch_name: &str) -> bool {
|
||||
repository
|
||||
.find_branch(branch_name, BranchType::Remote)
|
||||
.find_branch(&format!("origin/{branch_name}"), BranchType::Remote)
|
||||
.is_ok()
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue