GNU bug report logs -
#39868
Fix for diff -ZE behaviour
Previous Next
Full log
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 5 years and 105 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.