Skip to content

Commit be8e653

Browse files
committed
[RI] Change the fuzz factor to 3
With the new fuzzy diffing algorithm in interdiff, context differences are always shown. While it is possible for a botched patch application to occur with all 3 context lines fuzzed away, interdiff will still show all the context differences, so there is no risk of lost information. Use an aggressive fuzz factor of 3 to produce the smallest possible diffs.
1 parent bcb91b2 commit be8e653

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

run_interdiff.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def run_interdiff(repo, backport_sha, upstream_sha, interdiff_path):
8282
up_path = up.name
8383

8484
interdiff_result = subprocess.run(
85-
[interdiff_path, '--fuzzy=0', bp_path, up_path],
85+
[interdiff_path, '--fuzzy=3', bp_path, up_path],
8686
text=True,
8787
capture_output=True,
8888
check=False

0 commit comments

Comments
 (0)