patman: Respect include directive on Git config lookup
authorFei Shao <fshao@chromium.org>
Fri, 8 Sep 2023 14:15:59 +0000 (22:15 +0800)
committerSimon Glass <sjg@chromium.org>
Sat, 23 Sep 2023 15:00:37 +0000 (09:00 -0600)
commitce8cb76c7cf5cadf9d4b6293df8fbede74535d93
treed8eed604d7be87eb9f7c9d58545f174a5cbd4c22
parent92271d61045944cc05194a1defbd8ecb2ab00460
patman: Respect include directive on Git config lookup

People may put their user name and email in a local config file and
reference it by the include.* directives, however `git config --global`
doesn't look up the included configs by default.

Enable the --includes option explicitly to support such use cases.

Signed-off-by: Fei Shao <fshao@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
tools/patman/gitutil.py