Archived
1
0

Update gl-pre-git exceptions

This commit is contained in:
Mercier Pierre-Olivier 2013-11-14 20:34:12 +01:00
parent b959187718
commit 9bcf8c7c2d

View File

@ -19,7 +19,7 @@ my $promo = qx(git config hooks.promo);
my $id_project = qx(git config hooks.idproject); my $id_project = qx(git config hooks.idproject);
my $repo_login = qx(git config hooks.repologin); my $repo_login = qx(git config hooks.repologin);
my @habitent_loin = ("abdeln_a", "amed_m", "bellev_m", "faure_n", "freima_m", "ikouna_l", "simon_j"); my @habitent_loin = qw(amed_m bellev_m freima_m ikouna_l simon_j faure_n abdelm_a habri_z trang_d henrie_p verbec_y);
# First, check if the repository is in the YYYY/ directory # First, check if the repository is in the YYYY/ directory
exit 0 if (($promo && $id_project && $repo_login) || $ENV{GL_REPO} !~ /^2[0-9]{3}\/.+\/.+/); exit 0 if (($promo && $id_project && $repo_login) || $ENV{GL_REPO} !~ /^2[0-9]{3}\/.+\/.+/);