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)
commitbe17bddc6907f65b0a9f0ff77200a6d403ac41d1
treeb81dcda9c50937274cdfeea83f8e4eacf1d7e6a1
parent75339d825ae5b1cd5bd6d4b1db3b4b7c12d7b3e9
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