Skip to contentSkip to conversation

get_maintainer-fix-detection-of-git-repository.patch removed from -mm tree

merged [email protected] 1 participant 1 message Feb 11, 2014 GET_MAINTAINER script

lore
Share & tools
lore
#0 lore raw

Subject: [merged] get_maintainer-fix-detection-of-git-repository.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Tue, 11 Feb 2014 11:23:18 -0800

The patch titled
Subject: get_maintainer: fix detection of git repository
has been removed from the -mm tree. Its filename was
get_maintainer-fix-detection-of-git-repository.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Richard Genoud <[email protected]>
Subject: 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.

---

 scripts/get_maintainer.pl |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/get_maintainer.pl renamed from scripts/get_maintainer.pl~get_maintainer-fix-detection-of-git-repository +1 -1
diff -puN scripts/get_maintainer.pl~get_maintainer-fix-detection-of-git-repository scripts/get_maintainer.pl
@@ -95,7 +95,7 @@ my %VCS_cmds;
 
 my %VCS_cmds_git = (
     "execute_cmd" => \&git_execute_cmd,
-    "available" => '(which("git") ne "") && (-d ".git")',
+    "available" => '(which("git") ne "") && (-e ".git")',
     "find_signers_cmd" =>
 	"git log --no-color --follow --since=\$email_git_since " .
 	    '--numstat --no-merges ' .

_

Patches currently in -mm which might be from [email protected] are

origin.patch