Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion run_interdiff.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def run_interdiff(repo, backport_sha, upstream_sha, interdiff_path):
up_path = up.name

Copy link

Copilot AI Nov 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] The change from --fuzzy=3 to --fuzzy relies on the default fuzz factor being 2. Consider adding a comment explaining this default behavior for future maintainability, e.g.:

# Use default fuzz factor of 2 for better patch application results
[interdiff_path, "--fuzzy", bp_path, up_path]

This would make the intent clearer and document the assumed default value.

Suggested change
# Use default fuzz factor of 2 for better patch application results

Copilot uses AI. Check for mistakes.
interdiff_result = subprocess.run(
[interdiff_path, "--fuzzy=3", bp_path, up_path], text=True, capture_output=True, check=False
[interdiff_path, "--fuzzy", bp_path, up_path], text=True, capture_output=True, check=False
)

# Check for interdiff errors (non-zero return code other than 1)
Expand Down
Loading