From 9806ca08b1adfd1a15426d90083f378f0a4bb270 Mon Sep 17 00:00:00 2001 From: Michael Davis Date: Wed, 30 Oct 2024 14:31:52 -0400 Subject: [PATCH] Fix breaking change in gix Tree::loop_entry_by_path --- helix-vcs/src/git.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helix-vcs/src/git.rs b/helix-vcs/src/git.rs index 48220f4df..189f6e22b 100644 --- a/helix-vcs/src/git.rs +++ b/helix-vcs/src/git.rs @@ -198,7 +198,7 @@ fn find_file_in_commit(repo: &Repository, commit: &Commit, file: &Path) -> Resul let rel_path = file.strip_prefix(repo_dir)?; let tree = commit.tree()?; let tree_entry = tree - .lookup_entry_by_path(rel_path, &mut Vec::new())? + .lookup_entry_by_path(rel_path)? .context("file is untracked")?; match tree_entry.mode().kind() { // not a file, everything is new, do not show diff