Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2017-01-05 23:18:51 +0300
committerLin Jen-Shin <godfat@godfat.org>2017-01-05 23:18:51 +0300
commita30f278bdee399346f199ada0e33f5c2d233d861 (patch)
tree01a584bad9f099e6af8cf784bfca3a616ba27add /lib/api/commits.rb
parentae86a1b9d3c9ca4ce592fa89085acd059ffc09a0 (diff)
Fix for initial commit and remove unneeded args
Diffstat (limited to 'lib/api/commits.rb')
-rw-r--r--lib/api/commits.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/api/commits.rb b/lib/api/commits.rb
index cf2489dbb67..2c1da0902c9 100644
--- a/lib/api/commits.rb
+++ b/lib/api/commits.rb
@@ -140,8 +140,6 @@ module API
commit_params = {
commit: commit,
create_merge_request: false,
- source_project: user_project,
- source_branch: commit.cherry_pick_branch_name,
target_branch: params[:branch]
}