readSubmoduleConfig fixup

This commit is contained in:
Daniel James
2015-06-03 23:20:19 +01:00
parent c08c93421e
commit 549254935b

View File

@@ -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;