Remove downcase from special path helper

This commit is contained in:
James Ramsay 2018-01-02 12:57:28 -05:00
parent 3f44c4cedb
commit 4eaeea6e20
No known key found for this signature in database
GPG key ID: D0DDB642E0E655B4
2 changed files with 6 additions and 1 deletions

View file

@ -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',

View file

@ -0,0 +1,5 @@
---
title: Fix inconsistent downcase of filenames in prefilled `Add` commit messages
merge_request: 16232
author: James Ramsay
type: fixed