GNU bug report logs - #23644
bug with context greater than 0

Previous Next

Package: diffutils;

Reported by: Claude <lamy.claude <at> gmail.com>

Date: Sun, 29 May 2016 05:48:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Eric Deplagne <Eric <at> Deplagne.name>
To: 23644 <at> debbugs.gnu.org
Subject: bug#23644: [bug-diffutils] bug#23644: bug#23644: bug with context greater than 0
Date: Sun, 29 May 2016 21:50:30 +0200
[Message part 1 (text/plain, inline)]
On Sat, 28 May 2016 23:46:53 -0700, Paul Eggert wrote:
> Claude wrote:
>> Notice that  on the original file diff specifies that it will list context lines
>> content 1,2 for the
>> beginning and 24,25 for the end, but the lines are not displayed in the diff
>> block description.
>
> Yes they are; they are common context, e.g., lines 24-25 of the first 
> file are the same as lines 24-25 of the second file, so they are 
> displayed once with leading ' '.
>
>> The two context lines appear for the modified files for the same differences
>> though.
>> Also, the two context lines are displayed, at top, and at bottom when
>> differences occure in the middle of the file.
>
> Sorry, I don't see the bugs here; the output looks OK to me.

  Same for me.

  Third chunk beginning line 24 in both files
  at first seemed odd to me,
  but there are as many less lines in chunk 2 
  than there are more lines in chunk 1.

  So everything is fine.

-- 
  Eric Deplagne
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 9 years and 19 days ago.

Previous Next


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