From f3c951ed41114f3a8f3e5c991bd80d22986bb05a Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 28 Jun 2019 12:06:39 +0100 Subject: [PATCH] dgit: Tidying up after tag format: drop ..._can_splitbrain Substitute this fixed value into its call sites. No functional change. Signed-off-by: Ian Jackson --- dgit | 24 +++--------------------- 1 file changed, 3 insertions(+), 21 deletions(-) diff --git a/dgit b/dgit index b95cb57c..46a7ffc7 100755 --- a/dgit +++ b/dgit @@ -1677,13 +1677,6 @@ sub archive_query_dummycat ($$) { sub file_in_archive_dummycat () { return undef; } sub package_not_wholly_new_dummycat () { return undef; } -#---------- tag format handling ---------- -# (untranslated, because everything should be new tag format by now) - -sub access_cfg_tagformats_can_splitbrain () { - 1 -} - #---------- archive query entrypoints and rest of program ---------- sub canonicalise_suite () { @@ -4278,13 +4271,9 @@ sub push_tagwants ($$$$) { View => 'maint', }; } elsif ($dodep14tag eq 'no' ? 0 - : $dodep14tag eq 'want' ? access_cfg_tagformats_can_splitbrain - : $dodep14tag eq 'always' - ? (access_cfg_tagformats_can_splitbrain or fail < \&debiantag_maintview, Objid => $dgithead, @@ -5822,13 +5811,6 @@ sub build_maybe_quilt_fixup () { sub build_check_quilt_splitbrain () { build_maybe_quilt_fixup(); - - if ($do_split_brain) { - fail <