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