We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b00eec5 commit c2835a4Copy full SHA for c2835a4
crates/turborepo-scm/src/repo_index.rs
@@ -352,7 +352,8 @@ fn find_untracked_files(
352
let in_ls_tree = ls_tree_hashes
353
.binary_search_by(|(p, _)| p.as_str().cmp(unix_str))
354
.is_ok();
355
- let in_status = sorted_status.binary_search(&unix_str).is_ok();
+ let unix_ref: &str = unix_str.as_ref();
356
+ let in_status = sorted_status.binary_search(&unix_ref).is_ok();
357
358
if !in_ls_tree
359
&& !in_status
0 commit comments