t4018: an infrastructure to test hunk headers
authorJohannes Sixt <j6t@kdbg.org>
Fri, 21 Mar 2014 21:07:15 +0000 (22:07 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 21 Mar 2014 22:00:51 +0000 (15:00 -0700)
commitbfa7d01413bd02b5b3675ef0e96f764064a13ce8
treec4328bb3629d92451af5137eb5dca37f848994a2
parentabf8f9860248d8c213600974742f18dadaa8fbb5
t4018: an infrastructure to test hunk headers

Add an infrastructure that simplifies adding new tests of the hunk
header regular expressions.

To add new tests, a file with the syntax to test can be dropped in the
directory t4018. The README file explains how a test file must contain;
the README itself tests the default behavior.

Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t4018-diff-funcname.sh
t/t4018/README [new file with mode: 0644]