From a2ddaceab91eaa6749a60bbe749d9f342c844ce8 Mon Sep 17 00:00:00 2001 From: Axel Beckert Date: Thu, 15 Apr 2010 02:57:54 +0200 Subject: [PATCH] t/shell-syntax.t: Skip .git directories, too --- t/shell-syntax.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/shell-syntax.t b/t/shell-syntax.t index 0b118ba..a53a228 100755 --- a/t/shell-syntax.t +++ b/t/shell-syntax.t @@ -35,7 +35,7 @@ sub checkFile return if ( ! -f $file ); # Finally mercurial files are fine. - return if ( $file =~ /\.hg\// ); + return if ( $file =~ /\.(hg|git)\// ); # See if it is a shell script. my $isShell = 0;