summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2020-03-10 09:13:57 -0700
committerSean Whitton <spwhitton@spwhitton.name>2020-03-10 09:13:57 -0700
commit16b5e5d0592ff442716bc5702fde94d2c02a4971 (patch)
treef73aae3ebaa91d631c23232b7ef5b281c5523cc5 /lib
parent68c29d68184b93fda6fa8ca2741114859693aa0e (diff)
downloadp5-API-GitForge-16b5e5d0592ff442716bc5702fde94d2c02a4971.tar.gz
push the gitforge branch using Git::Wrapper again.
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'lib')
-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