From 549254935b48210700fd2baaaaf74cb73b8dfafa Mon Sep 17 00:00:00 2001 From: Daniel James Date: Wed, 3 Jun 2015 23:20:19 +0100 Subject: [PATCH] readSubmoduleConfig fixup --- src/SuperProject.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SuperProject.php b/src/SuperProject.php index 9d2faf5..89c2779 100644 --- a/src/SuperProject.php +++ b/src/SuperProject.php @@ -151,7 +151,7 @@ class SuperProject extends Repo { // supports reading from a bare repo. static function readSubmoduleConfig($repo_path) { $submodule_config = array(); - foreach(Process::read_lines("git config -f .gitmodules -l", $this->path) + foreach(Process::read_lines("git config -f .gitmodules -l", $repo_path) as $line) { $matches = null;