]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
get_maintainer: fix detection of git repository
authorRichard Genoud <richard.genoud@gmail.com>
Mon, 10 Feb 2014 22:25:31 +0000 (14:25 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 11 Feb 2014 00:01:40 +0000 (16:01 -0800)
commitec83b616a71d76cc062371339472ed66ba405824
treeaad5777b77813f738747231dec293b09682f56ff
parent49d3d6c37a322117b1eeb410a49165bb3d0441f7
get_maintainer: fix detection of git repository

Since git v1.7.7, the .git directory can be a file when, for example,
the kernel is a submodule of another git super project.  So, the check
"-d .git" is not working anymore in this case.  Using a more generic
check like "-e .git" corrects this behaviour.

Signed-off-by: Richard Genoud <richard.genoud@gmail.com>
Cc: Andy Whitcroft <apw@canonical.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