From a4a39191e273088527e746440e90e99ae8f6d344 Mon Sep 17 00:00:00 2001 From: Axel Beckert Date: Fri, 16 Jul 2010 17:33:04 +0200 Subject: [PATCH] t/portable-shell.t: Don't check hooks under .git --- t/portable-shell.t | 1 + 1 file changed, 1 insertion(+) diff --git a/t/portable-shell.t b/t/portable-shell.t index 341ef79..16e7fbe 100755 --- a/t/portable-shell.t +++ b/t/portable-shell.t @@ -42,6 +42,7 @@ sub checkFile # We're only testing things beneath hooks return if ( $file !~ /hooks/ ); + return if ( $file =~ /\.git/ ); # See if it is a shell script. my $isShell = 0;