the error message. (This has been broken forever.)
* In dgit(7), discuss binaries and documentation present in upstream but
removed by rules clean.
- * Detect and reject git trees containing debian/source/local-options.
+ * Detect and reject git trees containing debian/source/local-options
+ or debian/source/local-patch-header.
* In --dry-run mode, _do_ actually run dpkg-source --commit so that we
actually do construct the quilt fixup commit; instead, honour
--dry-run by avoiding pulling it back to your HEAD.
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";
+ }
}
}