From: Richard Genoud Date: Mon, 10 Feb 2014 22:25:31 +0000 (-0800) Subject: get_maintainer: fix detection of git repository X-Git-Tag: v3.14-rc3~37^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec83b616a71d76cc062371339472ed66ba405824;p=pandora-kernel.git 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 Cc: Andy Whitcroft Cc: Joe Perches Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed