hooks-pre-commit: use \t, rather than a literal TAB in regexp

Signed-off-by: Jim Meyering <meyering@redhat.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Jim Meyering 2007-10-26 12:48:41 +02:00 committed by Junio C Hamano
parent c2e6b6d0d1
commit 4a21d13db4

View File

@ -58,7 +58,7 @@ perl -e '
if (/\s$/) {
bad_line("trailing whitespace", $_);
}
if (/^\s* /) {
if (/^\s* \t/) {
bad_line("indent SP followed by a TAB", $_);
}
if (/^(?:[<>=]){7}/) {