diff options
-rwxr-xr-x | dgit | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -3818,9 +3818,10 @@ sub pull () { sub check_not_dirty () { my @forbid = qw(local-options local-patch-header); + @forbid = map { "debian/source/$_" } @forbid; foreach my $f (@forbid) { - if (stat_exists "debian/source/$f") { - fail f_ "git tree contains debian/source/%s", $f; + if (stat_exists $f) { + fail f_ "git tree contains %s", $f; } } |