Remove downcase from special path helper
This commit is contained in:
parent
3f44c4cedb
commit
4eaeea6e20
2 changed files with 6 additions and 1 deletions
|
@ -389,7 +389,7 @@ module ProjectsHelper
|
|||
end
|
||||
|
||||
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,
|
||||
project.default_branch || 'master',
|
||||
|
|
5
changelogs/unreleased/jramsay-41590-add-readme-case.yml
Normal file
5
changelogs/unreleased/jramsay-41590-add-readme-case.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: Fix inconsistent downcase of filenames in prefilled `Add` commit messages
|
||||
merge_request: 16232
|
||||
author: James Ramsay
|
||||
type: fixed
|
Loading…
Reference in a new issue