From ddb80a1e2625561a6241b76646c173b4d738c705 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 23 Jan 2017 16:17:23 +0000 Subject: config and suite handling: Make dgit-setup-* work in default distro. Signed-off-by: Ian Jackson --- dgit | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'dgit') diff --git a/dgit b/dgit index cf27bb7..8e7f239 100755 --- a/dgit +++ b/dgit @@ -6338,21 +6338,25 @@ sub cmd_print_dgit_repos_server_source_url { sub cmd_setup_mergechangelogs { badusage "no arguments allowed to dgit setup-mergechangelogs" if @ARGV; + local $isuite = 'DGIT-SETUP-TREE'; setup_mergechangelogs(1); } sub cmd_setup_useremail { badusage "no arguments allowed to dgit setup-useremail" if @ARGV; + local $isuite = 'DGIT-SETUP-TREE'; setup_useremail(1); } sub cmd_setup_gitattributes { badusage "no arguments allowed to dgit setup-useremail" if @ARGV; + local $isuite = 'DGIT-SETUP-TREE'; setup_gitattrs(1); } sub cmd_setup_new_tree { badusage "no arguments allowed to dgit setup-tree" if @ARGV; + local $isuite = 'DGIT-SETUP-TREE'; setup_new_tree(); } -- cgit v1.2.3