Skip to content

Commit 27eab5f

Browse files
committed
Fixes an issue with deploying submodules. Fixes pocketarc#54.
1 parent f99b632 commit 27eab5f

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

git-deploy

6.04 KB
Binary file not shown.

tools/src/Server.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public function deploy(Git $git, $target_commit, $is_revert = false, $list_only
7979
foreach ($changes['submodules'] as $submodule) {
8080
Helpers::logmessage($submodule);
8181
$current_subcommit = $this->get_file($submodule . '/REVISION', true);
82-
$subgit = new Brunodebarros\Gitdeploy\Git($git->repo_path . $submodule . "/");
82+
$subgit = new \Brunodebarros\Gitdeploy\Git($git->repo_path . $submodule . "/");
8383
$target_subcommit = $subgit->interpret_target_commit("HEAD");
8484
$subchanges = $subgit->get_changes($target_subcommit, $current_subcommit);
8585

0 commit comments

Comments
 (0)