From: Johannes Schindelin Date: Fri, 06 Jun 2008 13:59:48 GMT Subject: Re: [PATCH v3 0/2] git add --edit Message-ID: In-Reply-To: <7vr6bbw4a3.fsf@gitster.siamese.dyndns.org> Hi, On Thu, 5 Jun 2008, Junio C Hamano wrote: > Johannes Schindelin writes: > > > Changes relative to v2: > > > > - it works now not by chance, but by design, > > Funny. The old one worked by chance? Yes, it did. In my tests, I did not realize that the "line" parameter was set just after the second "@@" in the hunk header. Therefore, the code counted a space at the beginning of the hunk header comment as a common line. In my later tests, I finally realized my error, and changed the code. Ciao, Dscho