Code

diff --check: fix off by one error
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Fri, 22 Dec 2006 02:20:11 +0000 (03:20 +0100)
committerJunio C Hamano <junkio@cox.net>
Fri, 22 Dec 2006 04:31:14 +0000 (20:31 -0800)
commite6d40d65df07059fc655fabe62fa5b575ead7815
tree732e263f429db3702fd770b89fa4279a1dc36e2d
parentec722203ee43beed8e4feac84af4307eb68f1ba3
diff --check: fix off by one error

When parsing the diff line starting with '@@', the line number of the
'+' file is parsed. For the subsequent line parses, the line number
should therefore be incremented after the parse, not before it.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
diff.c