summaryrefslogtreecommitdiff
path: root/lib/API/GitForge/Role/GitForge.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/API/GitForge/Role/GitForge.pm')
-rw-r--r--lib/API/GitForge/Role/GitForge.pm5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/API/GitForge/Role/GitForge.pm b/lib/API/GitForge/Role/GitForge.pm
index c3459bf..3742553 100644
--- a/lib/API/GitForge/Role/GitForge.pm
+++ b/lib/API/GitForge/Role/GitForge.pm
@@ -120,10 +120,7 @@ sub clean_fork {
$git->add("README.md");
$git->commit({ message => "Temporary fork for pull request(s)" });
- # TODO why does Git::Wrapper hang after pushing the branch to
- # GitLab? for now, just use system() to do the push ourselves
- system "git", "-C", $git->dir, "push", $fork_uri, "master:gitforge";
-
+ $git->push($fork_uri, "master:gitforge");
$self->_clean_config_fork($_[0]);
# assume that if we had to create the gitforge branch, we just