mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-06 15:24:56 +08:00
Skip any .git directory for copyright changes, not just top-level .git
directories. Per suggestion from Andrew Dunstan.
This commit is contained in:
parent
b5eb06a22a
commit
bed762c81e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user