On Sun, 02 Oct 2022 16:55:05 -0700, Joe Perches wrote: > On Mon, 2022-10-03 at 08:04 +0900, Akira Yokosawa wrote: >> Hello Joe, >> >> Thank you for chiming in. >> >> On 2022/10/03 0:49, Joe Perches wrote: >>> On Sun, 2022-10-02 at 09:58 +0200, Krzysztof Kozlowski wrote: >>>> The easiest to achieve it is to run with --no-git-fallback and CC entire >>>> output. However it does not mean submitter must run with >>>> --no-git-fallback. It is only for this generic rule - CC entire output >>>> of get_maintainers.pl. >>>> >>>> If you add such rule "CC entire output of get_maintainers.pl" and do not >>>> mention no-git-fallback, some folks will think they need to CC all these >>>> people who made one commit to your file... >>> >>> false. >>> >>> git-fallback is _not_ used when there is a listed maintainer for a >>> specific file. >>> >>> If there is a use of git-fallback, it's because there is _no_ >>> specified maintainer for a specific file. >>> >>> --git-fallback => use git when no exact MAINTAINERS pattern (default: 1) >>> >>> i.e.: It's not "your file" if you don't maintain it. >> >> Joe, I sometimes see unexpected output WRT --git-fallback. >> >> Example: >> >> $ ./get_maintainer.pl -f Documentation/doc-guide/sphinx.rst >> Jonathan Corbet <corbet@xxxxxxx> (maintainer:DOCUMENTATION,commit_signer:1/1=100%) >> <-- ??? >> Lukas Bulwahn <lukas.bulwahn@xxxxxxxxx> (commit_signer:1/1=100%,authored:1/1=100%,added_lines:2/2=100%,removed_lines:2/2=100%) >> <-- ??? >> linux-doc@xxxxxxxxxxxxxxx (open list:DOCUMENTATION) >> >> linux-kernel@xxxxxxxxxxxxxxx (open list) >> >> As you see, --git-fallback is used in this case. Why? >> It looks strange to me as Jon is listed as a "maintainer". >> >> Having "F: Documentation/" in MAINTAINERS does not suffice? > > No. It's not an exact pattern match as the files below the > top level of Documentation are not specifically matched by > "F: Documentation/". For me, calling this is "not an exact pattern match" sounds inconsistent with the explanation (quoted below) near the top of MAINTAINERS: F: *Files* and directories wildcard patterns. A trailing slash includes all files and subdirectory files. What am I missing? Does this explanation needs update? Regards, Akira > [...]