X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=dgit;fp=dgit;h=fde8d6153dad5a92ef4d3c4c161066f76441f744;hb=ce698d485ec4dc0315bef08a69061728564e7c7c;hp=941a14b93630d198172570a2a943d5ea29874d11;hpb=0e6b4849c4a26631f70c6537d016c5da10e1ec1c;p=dgit.git diff --git a/dgit b/dgit index 941a14b9..fde8d615 100755 --- a/dgit +++ b/dgit @@ -2015,7 +2015,7 @@ sub test_source_only_changes ($) { foreach my $l (split /\n/, getfield $changes, 'Files') { $l =~ m/\S+$/ or next; # \.tar\.[a-z0-9]+ covers orig.tar and the tarballs in native packages - unless ($& =~ m/(?:\.dsc|\.diff\.gz|\.tar\.[a-z0-9]+|_source\.buildinfo)$/) { + unless ($& =~ m/(?:\.dsc|\.diff\.gz|$tarball_f_ext_re|_source\.buildinfo)$/) { print f_ "purportedly source-only changes polluted by %s\n", $&; return 0; }