diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2013-08-26 16:48:47 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2013-08-26 16:48:47 +0100 |
commit | 7de1cca83307cda0d0bf04f8646e23da334f19ef (patch) | |
tree | 4e47cf61de9387355b34ed656938bf471e87dd8c /dgit | |
parent | 7cf634614b9a4ee18a70030e3b340dccd470f908 (diff) |
New --no-quilt-fixup option to suppress quilt fixup. RTFM.
Diffstat (limited to 'dgit')
-rwxr-xr-x | dgit | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -37,6 +37,7 @@ our $dryrun = 0; our $changesfile; our $new_package = 0; our $ignoredirty = 0; +our $noquilt = 0; our $existing_package = 'dpkg'; our $cleanmode = 'dpkg-source'; @@ -804,6 +805,10 @@ sub madformat ($) { my ($format) = @_; return 0 unless $format eq '3.0 (quilt)'; print "Format \`$format', urgh\n"; + if ($noquilt) { + print "Not doing any fixup of \`$format' due to --no-quilt-fixup"; + return 0; + } return 1; } @@ -1197,6 +1202,8 @@ sub parseopts () { badusage "unknown cleaning mode \`$1'"; } elsif (m/^--ignore-dirty$/s) { $ignoredirty = 1; + } elsif (m/^--no-quilt-fixup$/s) { + $noquilt = 1; } else { badusage "unknown long option \`$_'"; } |