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;