summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorGeorge Andrinopoulos <geoandri@gmail.com>2018-07-25 21:22:01 +0300
committerGeorge Andrinopoulos <geoandri@gmail.com>2018-08-19 23:11:49 +0300
commit70830c23002c198d96cae1bf9cdf153b025f9c09 (patch)
tree4499094d1178aba839cf3db6668b1e457213025f /app/controllers
parent00baed8cb0725f7e05e6dab4e498acf2b425a5b2 (diff)
downloadgitlab-ce-70830c23002c198d96cae1bf9cdf153b025f9c09.tar.gz
Add target branch to cherry pick confirmation message
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/projects/commit_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/commit_controller.rb b/app/controllers/projects/commit_controller.rb
index 44b176d304e..641e1d362b5 100644
--- a/app/controllers/projects/commit_controller.rb
+++ b/app/controllers/projects/commit_controller.rb
@@ -101,7 +101,7 @@ class Projects::CommitController < Projects::ApplicationController
@branch_name = create_new_branch? ? @commit.cherry_pick_branch_name : @start_branch
- create_commit(Commits::CherryPickService, success_notice: "The #{@commit.change_type_title(current_user)} has been successfully cherry-picked.",
+ create_commit(Commits::CherryPickService, success_notice: "The #{@commit.change_type_title(current_user)} has been successfully cherry-picked into #{@start_branch}.",
success_path: -> { successful_change_path }, failure_path: failed_change_path)
end