From 6d6c6d27dd3ecafd523962dff2170d48a71680cf Mon Sep 17 00:00:00 2001 From: Andreas Rottmann Date: Sun, 29 Mar 2020 13:12:50 +0200 Subject: config: Honor gitconfig includes This allows for a setup where a central config file for the web server includes per-user config files. --- lib/PublicInbox/Config.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- cgit v1.2.3-24-ge0c7