contrib/pre-commit: add possibility to delete
git-svn-id: https://svn.fhem.de/fhem/trunk@7043 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -30,6 +30,7 @@ my $fList = `$svnlook changed $arg $repos`;
|
||||
foreach my $row (split("\n", $fList)) {
|
||||
chomp($row);
|
||||
my ($type, $fName) = split(" ", $row);
|
||||
next if($type eq "D");
|
||||
next if(!$fName || $fName !~ m+FHEM/\d\d_(.*).pm$+);
|
||||
my $modName = $1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user