From 194f799def5d74fba6f7e035372b2f4e01aa6ec7 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 8 Jan 2017 12:01:36 +0000 Subject: [PATCH] dgit: Option parsing: Move notpushing call in fetch/pull We should use the calculated $idistro and $isuite Signed-off-by: Ian Jackson --- dgit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.30.2