Code

builtin-apply.c: fix the --- and +++ header filename consistency check
authorAndreas Gruenbacher <agruen@suse.de>
Mon, 18 Jan 2010 21:37:38 +0000 (22:37 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 19 Jan 2010 01:08:59 +0000 (17:08 -0800)
commitda915939fd7523cd145ba280cc974d46aa792331
tree01bd424f3ff95bfe3d0a09d8946c73b062f159e4
parentb9cb07726a7a288244b585939850348f319e5e0c
builtin-apply.c: fix the --- and +++ header filename consistency check

gitdiff_verify_name() only did a filename prefix check because of an
off-by-one error.

Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-apply.c
t/t4133-apply-filenames.sh [new file with mode: 0755]