Commit bed762c8 authored by Bruce Momjian's avatar Bruce Momjian

Skip any .git directory for copyright changes, not just top-level .git

directories.  Per suggestion from Andrew Dunstan.
parent b5eb06a2
......@@ -24,7 +24,7 @@ find({wanted => \&wanted, no_chdir => 1}, '.');
sub wanted {
# prevent corruption of git indexes, ./.git
if ($File::Find::name =~ m{^\./\.git$})
if ($_ eq '.git')
{
$File::Find::prune = 1;
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment