build: gitoxide upgrade (#4319)

adjustments to upgrade to gitoxide v0.22.1
This commit is contained in:
Sebastian Thiel
2022-08-27 20:24:18 +08:00
committed by GitHub
parent db790324a4
commit dd918296e4
3 changed files with 86 additions and 60 deletions
+1 -1
View File
@@ -629,7 +629,7 @@ fn get_remote_repository_info(
) -> Option<Remote> {
let branch_name = branch_name?;
let branch = repository
.remote_ref(branch_name)
.branch_remote_ref(branch_name)
.and_then(|r| r.ok())
.map(|r| r.shorten().to_string());
let name = repository