summaryrefslogtreecommitdiff
path: root/app/services/commits
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-12-08 17:08:25 +0800
committerLin Jen-Shin <godfat@godfat.org>2016-12-08 17:08:25 +0800
commit3fa3fcd7876262bb63966debd04d16ea219fad73 (patch)
tree8ccb4823ba9d9a47e8ee7d6514c274c223288f80 /app/services/commits
parent691f1c496834078ba41209597558259d20790a0b (diff)
downloadgitlab-ce-3fa3fcd7876262bb63966debd04d16ea219fad73.tar.gz
Cleanup parameters, easier to understand and
more consistent across different methodst
Diffstat (limited to 'app/services/commits')
-rw-r--r--app/services/commits/change_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/commits/change_service.rb b/app/services/commits/change_service.rb
index 5458f7a6790..d49fcd42a08 100644
--- a/app/services/commits/change_service.rb
+++ b/app/services/commits/change_service.rb
@@ -37,7 +37,7 @@ module Commits
@commit,
into,
tree_id,
- source_branch: @target_branch)
+ source_branch_name: @target_branch)
success
else