[Top][All Lists]

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

[bug-diffutils] bug#39868: Fix for diff -ZE behaviour

From: felix
Subject: [bug-diffutils] bug#39868: Fix for diff -ZE behaviour
Date: Mon, 02 Mar 2020 08:29:57 +0000


While combing through a collection of files, I noticed that whenever I called diff with both --ignore-trailing-space and --ignore-tab-expansion, the latter option was seemingly ignored. Initially I was worried that combining them was’t supported at all, even though the documentation suggested nothing of the sort. So I dug into the source code to see whether this was a feature omission or a bug. Half an hour later, I had a patch ready. Attached.

I don’t believe the patch needs copyright assignment, given that it changes just two lines and adds one. Though I figure writing some tests to cover this case is in order, which I did not do.


Attachment: ignore_tabs_and_trailing_spaces.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]