Use histogram instead of myers for diffing

This commit is contained in:
blinxen committed 2026-06-26 20:27:49 +02:00
1 parent e2568c52cd
commit e60d184f97
1 file changed
+1 -1
+1 -1
View File
@@ -80,7 +80,7 @@ pub fn get_git_diff(filename: &Path) -> Option<LineChanges> {
) )
.ok()?; .ok()?;
let diff = gix::diff::blob::diff_with_slider_heuristics( let diff = gix::diff::blob::diff_with_slider_heuristics(
Algorithm::Myers, Algorithm::Histogram,
&cache.prepare_diff().ok()?.interned_input(), &cache.prepare_diff().ok()?.interned_input(),
); );