From: Ian Jackson Date: Mon, 9 Jan 2017 00:08:06 +0000 (+0000) Subject: dgit: Dgit handling: Honour --no-chase-dsc-distro X-Git-Tag: archive/debian/3.0~52 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=1672f625cd5455a458cc21f031634ba88c37f8e2 dgit: Dgit handling: Honour --no-chase-dsc-distro Signed-off-by: Ian Jackson --- diff --git a/dgit b/dgit index ee1101da..d771ce10 100755 --- a/dgit +++ b/dgit @@ -78,7 +78,7 @@ our $patches_applied_dirtily = 00; our $tagformat_want; our $tagformat; our $tagformatfn; -our $chase_dsc_distro=1; #xxx configurable +our $chase_dsc_distro=1; our %forceopts = map { $_=>0 } qw(unrepresentable unsupported-source-format @@ -6277,6 +6277,9 @@ sub parseopts () { } elsif (m/^--no-rm-on-error$/s) { push @ropts, $_; $rmonerror = 0; + } elsif (m/^--no-chase-dsc-distro$/s) { + push @ropts, $_; + $chase_dsc_distro = 0; } elsif (m/^--overwrite$/s) { push @ropts, $_; $overwrite_version = '';