Refactoring: Massive code deduplication in hooks directory
All hooks files which were identical and had no second group of identically named hook files have been moved to a new hooks/common directory and now have symbolic links to the new single file at their old locations. Also slightly modified to make this work: * Makefile: copy new hooks/common directory * Some tests: ignore new hooks/common directory
This commit is contained in:
@@ -20,6 +20,7 @@ use Test::More qw( no_plan );
|
||||
foreach my $dir ( glob( "hooks/*" ) )
|
||||
{
|
||||
next if ( $dir =~ /CVS/i );
|
||||
next if ( $dir =~ /common/i );
|
||||
next if ( ! -d $dir );
|
||||
|
||||
if ( $dir =~ /hooks\/(.*)/ )
|
||||
|
||||
Reference in New Issue
Block a user