X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=blobdiff_plain;f=dgit;h=5754e45676393f15294a16cbc27e79512b8017ec;hp=3591231fba1ce27d8c1673f1a889ee0240d4c40e;hb=52174c9a5976b18dc3d2ff020a962a84db35019c;hpb=11d6c940433c2c746e7220cc6b895638b4a95f5c diff --git a/dgit b/dgit index 3591231f..5754e456 100755 --- a/dgit +++ b/dgit @@ -3817,7 +3817,8 @@ sub pull () { } sub check_not_dirty () { - foreach my $f (qw(local-options local-patch-header)) { + my @forbid = qw(local-options local-patch-header); + foreach my $f (@forbid) { if (stat_exists "debian/source/$f") { fail f_ "git tree contains debian/source/%s", $f; }