FG
💻 Software

How to ignore moved lines in a diff

Fresh5 days ago
Mar 15, 202613254 views
Confidence Score0%
0%

Problem

I am currently working on a source code generation tool. To make sure that my changes do no introduce any new bugs, a between the output of the program before and after my changes would theoretically be a valuable tool. However, this turns out to be harder than one might think, because the tool out…

Error Output

diff

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to ignore moved lines in a diff

Low Risk

You may try to sort'em first. Something like: Bash (and zsh) can do this in one line with process substitution

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment