summaryrefslogtreecommitdiff
path: root/lockfile.c
diff options
context:
space:
mode:
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>2006-12-22 02:20:11 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-12-22 04:31:14 (GMT)
commite6d40d65df07059fc655fabe62fa5b575ead7815 (patch)
tree732e263f429db3702fd770b89fa4279a1dc36e2d /lockfile.c
parentec722203ee43beed8e4feac84af4307eb68f1ba3 (diff)
downloadgit-e6d40d65df07059fc655fabe62fa5b575ead7815.zip
git-e6d40d65df07059fc655fabe62fa5b575ead7815.tar.gz
git-e6d40d65df07059fc655fabe62fa5b575ead7815.tar.bz2
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>
Diffstat (limited to 'lockfile.c')
0 files changed, 0 insertions, 0 deletions