]> 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)
commit57f4c62f37b246696765ebe312c848416ec9398c
treeb81dcda9c50937274cdfeea83f8e4eacf1d7e6a1
parente4400ec04e20ffa8f2989fea541f6f1974214761
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