Skip to content
Snippets Groups Projects
Commit cab5039c authored by George Andrinopoulos's avatar George Andrinopoulos
Browse files

Fix branch name in case of new merge request cherry pick

parent 83c98610
No related branches found
No related tags found
Loading
......@@ -101,7 +101,7 @@ def cherry_pick
@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 into #{@start_branch}.",
create_commit(Commits::CherryPickService, success_notice: "The #{@commit.change_type_title(current_user)} has been successfully cherry-picked into #{@branch_name}.",
success_path: -> { successful_change_path }, failure_path: failed_change_path)
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment