From d507b250913c61c758c0239b15785015facc5371 Mon Sep 17 00:00:00 2001
From: Michael Walle <michael@walle.cc>
Date: Sun, 31 Oct 2021 23:38:12 +0100
Subject: [PATCH] get_maintainer.pl: add .get_maintainer.conf

Since commit e57c7c5c4282 ("get_maintainer.pl: update from Linux kernel
v5.13-rc6") only the top level MAINTAINERS file is used. This is because
this commit (accidentally) disabled the search of MAINTAINERS files
(find_maintainer_files is set to 0 again). Before that, commit
b79372ae94fb ("scripts/get_maintainer.pl: enable find_maintainer_files")
explicitly enabled that feature. Nowadays, we also have to set
maintainer_path to a directory.

To fix it and enable recursive search of MAINTAINERS, create a
configuration file to set these two variables.

Signed-off-by: Michael Walle <michael@walle.cc>
---
 .get_maintainer.conf | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 .get_maintainer.conf

diff --git a/.get_maintainer.conf b/.get_maintainer.conf
new file mode 100644
index 0000000000..df595f5420
--- /dev/null
+++ b/.get_maintainer.conf
@@ -0,0 +1 @@
+--find-maintainer-files --maintainer-path=.
-- 
2.39.5