diff options
author | Richard Genoud <[email protected]> | 2014-02-10 14:25:31 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2014-02-10 16:01:40 -0800 |
commit | ec83b616a71d76cc062371339472ed66ba405824 (patch) | |
tree | aad5777b77813f738747231dec293b09682f56ff /lib/mpi/mpi-internal.h | |
parent | 49d3d6c37a322117b1eeb410a49165bb3d0441f7 (diff) |
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 <[email protected]>
Cc: Andy Whitcroft <[email protected]>
Cc: Joe Perches <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions