diff options
author | Joe Perches <joe@perches.com> | 2018-08-22 06:56:55 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-08-22 19:52:48 +0200 |
commit | 0fbd75fd7feedd9e38fc1d3a01317aa23b83d29e (patch) | |
tree | 5a3785944369672e354a9c16fcadd5aae7ffe300 /net/sctp/output.c | |
parent | get_maintainer.pl: add -mpath=<path or file> for MAINTAINERS file location (diff) | |
download | linux-0fbd75fd7feedd9e38fc1d3a01317aa23b83d29e.tar.xz linux-0fbd75fd7feedd9e38fc1d3a01317aa23b83d29e.zip |
get_maintainer: allow option --mpath <directory> to read all files in <directory>
There is an external use case for multiple private MAINTAINER style files
in a separate directory. Allow it.
--mpath has a default of "./MAINTAINERS".
The value entered can be either a file or a directory.
The behaviors are now:
--mpath <file> Read only the specific file as <MAINTAINER_TYPE> file
--mpath <directory> Read all files in <directory> as <MAINTAINER_TYPE> files
--mpath <directory> --find-maintainer-files
Recurse through <directory> and read all files named MAINTAINERS
Link: http://lkml.kernel.org/r/991b2f20112d53863cd79e61d908f1d26d3e1971.camel@perches.com
Signed-off-by: Joe Perches <joe@perches.com>
Tested-by: Don Zickus <dzickus@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/sctp/output.c')
0 files changed, 0 insertions, 0 deletions