Skip to content

Commit

Permalink
Merge branch 'fix-index-update'
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Jan 28, 2024
2 parents 234c7b1 + 4d75232 commit 99e8fe1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/git/impl_.rs
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ impl GitIndex {
.unwrap_or_else(|| self.repo.remote_at(self.url.as_str()).expect("own URL is always valid"));
fetch_remote(
&mut remote,
&["HEAD:refs/remotes/origin/HEAD", "master:refs/remotes/origin/master"],
&["+HEAD:refs/remotes/origin/HEAD", "+master:refs/remotes/origin/master"],
)?;

let head_commit = Self::find_repo_head(&self.repo, &self.path)?;
Expand Down

0 comments on commit 99e8fe1

Please sign in to comment.