From 6ac21629eae807dcd628d6ffec1eed0e087d22a2 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 8 Jan 2017 12:11:59 +0000 Subject: [PATCH] dgit: conflg handling: Undocumented --config-lookup-explode= feature. For testing. Signed-off-by: Ian Jackson --- debian/changelog | 1 + dgit | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/debian/changelog b/debian/changelog index f404d5aa..8402293f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -12,6 +12,7 @@ dgit (3.0~) unstable; urgency=medium Minor new feature: * distro alias facility in config space. (Primarily for testing.) + * Undocumented --config-lookup-explode= feature. (For testing.) dgit-badcommit-fixup: * Do not investigate symrefs. Closes:#850547. diff --git a/dgit b/dgit index 02d0b929..e4987ae7 100755 --- a/dgit +++ b/dgit @@ -6320,6 +6320,11 @@ sub parseopts () { # undocumented, for testing push @ropts, $_; $need_split_build_invocation = 1; + } elsif (m/^--config-lookup-explode=(.+)$/s) { + # undocumented, for testing + push @ropts, $_; + $gitcfgs{cmdline}{$1} = 'CONFIG-LOOKUP-EXPLODE'; + # ^ it's supposed to be an array ref } elsif (m/^(--[-0-9a-z]+)(=|$)/ && ($oi = $valopts_long{$1})) { $val = $2 ? $' : undef; #'; $valopt->($oi->{Long}); -- 2.30.2