Skip to content

Commit

Permalink
Fixup gix update
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake-Shadle committed Nov 11, 2024
1 parent 797e2f4 commit 8ed0f6d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/index/git_remote.rs
Original file line number Diff line number Diff line change
Expand Up @@ -257,9 +257,8 @@ impl RemoteGitIndex {
.try_into_commit()?
.tree()?;

let mut buf = Vec::new();
let Some(entry) = tree
.lookup_entry_by_path(path, &mut buf)
.lookup_entry_by_path(path)
.map_err(|err| GitError::BlobLookup(Box::new(err)))?
else {
return Ok(None);
Expand Down

0 comments on commit 8ed0f6d

Please sign in to comment.