1
0
mirror of https://github.com/sharkdp/bat synced 2026-07-17 16:03:19 +00:00

Use histogram instead of myers for diffing

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