Re: Antw: [EXT] Re: Help understanding unexpected diff output

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Ulrich,
(only just catching up with intriguing queries)

On 14/07/2020 09:52, Ulrich Windl wrote:
> some lines that are not
> changed were reorderd

It may be me, but I think your comment above is at the core of the
unexpected diff output.

If text is moved, then normally it will (obviously?) require something
within the diff report to say where it was removed from, and then where
it was inserted. It seems like your expectation in your use-case was
that the moved line changes wouldn't be shown.

I don't believe there is an `--ignore-moved-lines` option, but if
there's a good rationale / use-case for it, then maybe it's something to
look at coding.

--
Philip



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux