From 6cd2df7eeec8f951c6b7971b1e1ffdce04dd633b Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 7 Nov 2016 02:56:08 +0000 Subject: [PATCH] Actually honour the branch name for $isuite, if we are on dgit branch As documented in the manpage. Signed-off-by: Ian Jackson --- debian/changelog | 2 ++ dgit | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index c8f81558..bdc13eac 100644 --- a/debian/changelog +++ b/debian/changelog @@ -6,6 +6,8 @@ dgit (2.10~) unstable; urgency=medium build-essential. But we don't actually need build-essential.) * When cloning a distro which has no git server, correctly leave the user on the local dgit branch, not on `master'. + * Actually honour the branch name, if we are on dgit branch, to specify + the suite, as documented in the manpage. -- diff --git a/dgit b/dgit index a95629f5..aa5da935 100755 --- a/dgit +++ b/dgit @@ -3899,7 +3899,7 @@ sub fetchpullargs () { $package = getfield $sourcep, 'Source'; } if (@ARGV==0) { -# $isuite = branchsuite(); # this doesn't work because dak hates canons + $isuite = branchsuite(); if (!$isuite) { my $clogp = parsechangelog(); $isuite = getfield $clogp, 'Distribution'; -- 2.30.2