1
0
mirror of synced 2026-05-02 14:40:09 +00:00

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:
Axel Beckert
2012-06-04 16:26:03 +02:00
parent 3106753871
commit fc736c040d
99 changed files with 1054 additions and 5305 deletions

View File

@@ -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\/(.*)/ )