]> git.baikalelectronics.ru Git - kernel.git/commit
scripts/get_maintainer.pl: handle file names beginning with ./
authorJoe Perches <joe@perches.com>
Wed, 20 Jan 2016 22:58:24 +0000 (14:58 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 21 Jan 2016 01:09:18 +0000 (17:09 -0800)
commitca611fc9bbbc5c7d12e528fd34a88c74ed13d620
treeb81dcda9c50937274cdfeea83f8e4eacf1d7e6a1
parentf4c067c678a604a47c56099a0e52456b45faa602
scripts/get_maintainer.pl: handle file names beginning with ./

The problem is that get_maintainer.pl doesn't work if you have a ./
prefix on the filename.  For example, if you type:

  ./scripts/get_maintainer.pl -f ./drivers/usb/usb-skeleton.c

then the current code only includes LKML and people from the git log, it
doesn't include Greg or the linux-usb list.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/get_maintainer.pl