We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0ac3080 + 37e7e02 commit c3beb20Copy full SHA for c3beb20
gix/src/remote/connection/fetch/update_refs/mod.rs
@@ -76,6 +76,7 @@ pub(crate) fn update(
76
let mut updates = Vec::new();
77
let mut edit_indices_to_validate = Vec::new();
78
79
+ let mut checked_out_branches = worktree_branches(repo)?;
80
let implicit_tag_refspec = fetch_tags
81
.to_refspec()
82
.filter(|_| matches!(fetch_tags, crate::remote::fetch::Tags::Included));
@@ -110,7 +111,6 @@ pub(crate) fn update(
110
111
continue;
112
}
113
- let mut checked_out_branches = worktree_branches(repo)?;
114
let (mode, edit_index, type_change) = match local {
115
Some(name) => {
116
let (mode, reflog_message, name, previous_value) = match repo.try_find_reference(name)? {
0 commit comments