revert: fix off by one read when searching the end of a commit subject
authorChristian Couder <chriscool@tuxfamily.org>
Thu, 22 Jul 2010 13:18:29 +0000 (15:18 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 23 Jul 2010 23:08:14 +0000 (16:08 -0700)
A test case is added but the problem can only be seen when running
the test case with --valgrind.

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Acked-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found