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:
+1
-1
@@ -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(),
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user