From: Ian Jackson Date: Sun, 8 Jan 2017 12:01:36 +0000 (+0000) Subject: dgit: Option parsing: Move notpushing call in fetch/pull X-Git-Tag: archive/debian/3.0~82 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=194f799def5d74fba6f7e035372b2f4e01aa6ec7 dgit: Option parsing: Move notpushing call in fetch/pull We should use the calculated $idistro and $isuite Signed-off-by: Ian Jackson --- diff --git a/dgit b/dgit index e90baf3b..0ae84b28 100755 --- a/dgit +++ b/dgit @@ -4131,7 +4131,6 @@ sub branchsuite () { } sub fetchpullargs () { - notpushing(); if (!defined $package) { my $sourcep = parsecontrol('debian/control','debian/control'); $package = getfield $sourcep, 'Source'; @@ -4147,6 +4146,7 @@ sub fetchpullargs () { } else { badusage "incorrect arguments to dgit fetch or dgit pull"; } + notpushing(); } sub cmd_fetch {