Re: [PATCH v3 0/2] git add --edit
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jun 6, 2008, 13:59 UTC
- Message-ID
- <alpine.DEB.1.00.0806061458430.1783@racer>
- In-Reply-To
- <7vr6bbw4a3.fsf@gitster.siamese.dyndns.org>
Hi,
On Thu, 5 Jun 2008, Junio C Hamano wrote:
Show 7 quoted lines
> Johannes Schindelin <Johannes.Schindelin@gmx.de> 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