X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=blobdiff_plain;f=Debian%2FDgit.pm;h=c39ff72e6e2c9e388f3c0a473244f42b02500e38;hp=268439afaa44e5cdfdf4e9addb0dcf3c43a7ca87;hb=96ac307f0b9d186d589d221dabfb0e403169aa08;hpb=b839e9edc77dde4c40f2a8479e1b42223852daee diff --git a/Debian/Dgit.pm b/Debian/Dgit.pm index 268439af..c39ff72e 100644 --- a/Debian/Dgit.pm +++ b/Debian/Dgit.pm @@ -15,7 +15,7 @@ BEGIN { @ISA = qw(Exporter); @EXPORT = qw(debiantag server_branch server_ref stat_exists git_for_each_ref - $package_re $branchprefix); + $package_re $component_re $branchprefix); %EXPORT_TAGS = ( policyflags => [qw(NOFFCHECK FRESHREPO)] ); @EXPORT_OK = @{ $EXPORT_TAGS{policyflags} }; } @@ -23,6 +23,7 @@ BEGIN { our @EXPORT_OK; our $package_re = '[0-9a-z][-+.0-9a-z]*'; +our $component_re = '[0-9a-zA-Z][-+.0-9a-zA-Z]*'; our $branchprefix = 'dgit'; # policy hook exit status bits