GNU bug report logs - #28796
diff 3.6 still reports a diff on identical lines

Previous Next

Package: diffutils;

Reported by: Vincent Lefevre <vincent <at> vinc17.net>

Date: Thu, 12 Oct 2017 12:53:01 UTC

Severity: normal

Full log


Message #11 received at 28796 <at> debbugs.gnu.org (full text, mbox):

From: Vincent Lefevre <vincent <at> vinc17.net>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 28796 <at> debbugs.gnu.org
Subject: Re: [bug-diffutils] bug#28796: diff 3.6 still reports a diff on
 identical lines
Date: Mon, 23 Oct 2017 13:54:36 +0200
On 2017-10-16 01:32:46 -0700, Paul Eggert wrote:
> Vincent Lefevre wrote:
> > On some pair of files, "diff" reports a diff on identical lines.
> 
> Yes, that's a problem, though strictly speaking not a bug. You can use the
> --minimal option to avoid this problem. No doubt there's an efficient way to
> change "diff" to avoid this particular problem even when --minimal is not
> used, although that will take a bit of thinking.

OK. This would be useful, as --minimal is overkill on my original
files (15.87s with --minimal, 2.73s without it), even though I can
afford to waste a bit of time in the rare cases I need to do such
a diff on huge files.

-- 
Vincent Lefèvre <vincent <at> vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)




This bug report was last modified 7 years and 236 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.