]> git.baikalelectronics.ru Git - kernel.git/commit
get_maintainer: Prepare for separate MAINTAINERS files
authorJoe Perches <joe@perches.com>
Sat, 5 Aug 2017 04:45:48 +0000 (21:45 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 8 Aug 2017 18:09:31 +0000 (11:09 -0700)
commit12bdcee95eb1e053adc0e5493919fb96bcc1599a
treea6bb1d1213b12d3fe9f00c1d693a7ce7c86f85a4
parentf5eabe9d00fd484ee5fd588770952188fcacc394
get_maintainer: Prepare for separate MAINTAINERS files

Allow for MAINTAINERS to become a directory and if it is,
read all the files in the directory for maintained sections.

Optionally look for all files named MAINTAINERS in directories
excluding the .git directory by using --find-maintainer-files.

This optional feature adds ~.3 seconds of CPU on an Intel
i5-6200 with an SSD.

Miscellanea:

 - Create a read_maintainer_file subroutine from the existing code
 - Test only the existence of MAINTAINERS, not whether it's a file

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/get_maintainer.pl