chiark / gitweb /
dgit: conflg handling: Undocumented --config-lookup-explode= feature.
[dgit.git] / dgit
diff --git a/dgit b/dgit
index 02d0b9298e3c8d9d7f5acae491f39b6099d8fbc4..e4987ae7984633827e6b4b7a1e919c73d0a8b511 100755 (executable)
--- 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});