GNU bug report logs -
#39868
Fix for diff -ZE behaviour
Previous Next
To reply to this bug, email your comments to 39868 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-diffutils <at> gnu.org
:
bug#39868
; Package
diffutils
.
(Mon, 02 Mar 2020 15:38:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
felix <felix.von.s <at> posteo.de>
:
New bug report received and forwarded. Copy sent to
bug-diffutils <at> gnu.org
.
(Mon, 02 Mar 2020 15:38:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hello,
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.
—f
[ignore_tabs_and_trailing_spaces.patch (text/x-patch, attachment)]
This bug report was last modified 4 years and 335 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.