Use histogram instead of myers for diffing
This commit is contained in:
1 parent
e2568c52cd
commit
e60d184f97
1 file changed
+1
-1
+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