From: Johannes Schindelin Date: Thu, 15 Jan 2009 01:12:59 GMT Subject: Re: [PATCH replacement for take 3 4/4] color-words: take an optional regular expression describing words Message-ID: In-Reply-To: <200901150132.14106.trast@student.ethz.ch> Hi, On Thu, 15 Jan 2009, Thomas Rast wrote: > Johannes Schindelin wrote: > > This basically contains the fix I sent earlier. > > Unfortunately I found another case where it breaks. It even comes > with a fairly neat test case: > > $ g diff --no-index test_a test_b > diff --git 1/test_a 2/test_b > index 289cb9d..2d06f37 100644 > --- 1/test_a > +++ 2/test_b > @@ -1 +1 @@ > -(: > +( The diff of the words would look like this: diff --git a/a1 b/a2 index 8309acb..2d06f37 100644 --- a/a1 +++ b/a2 @@ -2 +1,0 @@ -: Notice the "+1,0"? I fully expected this to be "+2,0", but apparently I was mistaken... Can anybody explain to me why this is so? Ciao, Dscho