From: Ian Jackson Date: Sun, 8 Jan 2017 12:11:59 +0000 (+0000) Subject: dgit: conflg handling: Undocumented --config-lookup-explode= feature. X-Git-Tag: archive/debian/3.0~54 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=6ac21629eae807dcd628d6ffec1eed0e087d22a2 dgit: conflg handling: Undocumented --config-lookup-explode= feature. For testing. Signed-off-by: Ian Jackson --- 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});