diff options
author | Richard Genoud <richard.genoud@gmail.com> | 2014-02-10 23:25:32 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-02-11 01:01:40 +0100 |
commit | 3645e3283b90524ed9a6b33b68c93ee29d1bfeb9 (patch) | |
tree | 0f634b2d3600ce5d187084027ba1959c77379805 /Documentation/scheduler | |
parent | get_maintainer: fix detection of git repository (diff) | |
download | linux-3645e3283b90524ed9a6b33b68c93ee29d1bfeb9.tar.xz linux-3645e3283b90524ed9a6b33b68c93ee29d1bfeb9.zip |
checkpatch: 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>
Diffstat (limited to 'Documentation/scheduler')
0 files changed, 0 insertions, 0 deletions