lib/gitx/cli/integrate_command.rb in gitx-2.18.0 vs lib/gitx/cli/integrate_command.rb in gitx-2.19.0.ci.112.1
- old
+ new
@@ -23,11 +23,10 @@
end
pull_request = pull_request_for_branch(branch)
integrate_branch(branch, integration_branch, pull_request) unless options[:resume]
checkout_branch branch
- create_integrate_comment(pull_request) if pull_request
end
private
def print_message(branch, integration_branch)
@@ -86,14 +85,9 @@
end
def create_remote_branch(target_branch)
repo.create_branch(target_branch, Gitx::BASE_BRANCH)
run_cmd "git push origin #{target_branch}:#{target_branch}"
- end
-
- def create_integrate_comment(pull_request)
- comment = '[gitx] integrated into staging :twisted_rightwards_arrows:'
- github_client.add_comment(github_slug, pull_request.number, comment)
end
end
end
end