Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite3eb8be

Browse files
committed
Exclude files in .git from list of perl files
The .git directory might contain perl files, as hooks, for example.Since we have no control over these they should be excluded from thingslike our perlcritic checks.Per offline report from Mike Blackwell.
1 parenta54e1f1 commite3eb8be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/tools/perlcheck/find_perl_files

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ find_perl_files () {
1111
find . -type f -perm -100 -exec file {} \; -print |
1212
egrep -i ':.*perl[0-9]*\>' |
1313
cut -d: -f1
14-
} | sort -u
14+
} | sort -u | grep -v '^\./\.git/'
1515
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp