Commit 222f0143 authored by Douwe Maan's avatar Douwe Maan

Merge branch 'jramsay-41590-add-readme-case' into 'master'

Remove downcase from special path helper

Closes #41590

See merge request gitlab-org/gitlab-ce!16232
parents d83c4049 4eaeea6e
...@@ -389,7 +389,7 @@ module ProjectsHelper ...@@ -389,7 +389,7 @@ module ProjectsHelper
end end
def add_special_file_path(project, file_name:, commit_message: nil, branch_name: nil, context: nil) def add_special_file_path(project, file_name:, commit_message: nil, branch_name: nil, context: nil)
commit_message ||= s_("CommitMessage|Add %{file_name}") % { file_name: file_name.downcase } commit_message ||= s_("CommitMessage|Add %{file_name}") % { file_name: file_name }
project_new_blob_path( project_new_blob_path(
project, project,
project.default_branch || 'master', project.default_branch || 'master',
......
---
title: Fix inconsistent downcase of filenames in prefilled `Add` commit messages
merge_request: 16232
author: James Ramsay
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment