about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorAndreas Rottmann <mail@r0tty.org>2020-03-29 13:12:50 +0200
committerEric Wong <e@yhbt.net>2020-03-29 17:43:44 +0000
commit6d6c6d27dd3ecafd523962dff2170d48a71680cf (patch)
tree219aa6b965d7082cd0288d367e9e69154228ec6b
parent5513e163236d8a64411050ae2e1f87aa8d24f023 (diff)
downloadpublic-inbox-6d6c6d27dd3ecafd523962dff2170d48a71680cf.tar.gz
This allows for a setup where a central config file for the web server
includes per-user config files.
-rw-r--r--lib/PublicInbox/Config.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/Config.pm b/lib/PublicInbox/Config.pm
index 2d663515..917939ca 100644
--- a/lib/PublicInbox/Config.pm
+++ b/lib/PublicInbox/Config.pm
@@ -156,7 +156,7 @@ sub config_fh_parse ($$$) {
 sub git_config_dump {
         my ($file) = @_;
         return {} unless -e $file;
-        my @cmd = (qw/git config -z -l/, "--file=$file");
+        my @cmd = (qw/git config -z -l --includes/, "--file=$file");
         my $cmd = join(' ', @cmd);
         my $fh = popen_rd(\@cmd);
         my $rv = config_fh_parse($fh, "\0", "\n");