summaryrefslogtreecommitdiff
path: root/dgit
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2017-01-09 00:08:06 +0000
committerIan Jackson <ijackson@chiark.greenend.org.uk>2017-01-09 02:18:43 +0000
commit1672f625cd5455a458cc21f031634ba88c37f8e2 (patch)
tree4a3c2d817dd89e0fa7372d529c032c10abdaf1d7 /dgit
parent205d601c59eb8407bccd3bb2981b79eab81a71e8 (diff)
dgit: Dgit handling: Honour --no-chase-dsc-distro
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'dgit')
-rwxr-xr-xdgit5
1 files changed, 4 insertions, 1 deletions
diff --git a/dgit b/dgit
index ee1101d..d771ce1 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 = '';