From f18eae634f175b488386abca5cf80237e4418fce Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 21 Aug 2015 16:39:17 +0100 Subject: Reject debian/source/local-patch-header --- dgit | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'dgit') diff --git a/dgit b/dgit index f4e2abf..a49c766 100755 --- a/dgit +++ b/dgit @@ -1762,8 +1762,10 @@ sub check_not_dirty () { failedcmd @cmd; } - if (stat_exists "debian/source/local-options") { - fail "git tree contains debian/source/local-options"; + foreach my $f (qw(local-options local-patch-header)) { + if (stat_exists "debian/source/$f") { + fail "git tree contains debian/source/$f"; + } } } -- cgit v1.2.3