diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2018-10-11 01:28:31 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2018-10-11 01:28:31 +0100 |
commit | 52174c9a5976b18dc3d2ff020a962a84db35019c (patch) | |
tree | 6efa6a2a0dbe2d6c857ab5bd123b4b09436fe5fa /dgit | |
parent | 67a5c76a1ca22f119a6b316faddb0cb3767060b7 (diff) |
dgit: Break out @forbid in check_not_dirty
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'dgit')
-rwxr-xr-x | dgit | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; } |