Commit c405779f authored by James Ramsay's avatar James Ramsay

Allow uploading commit-map file

Git filter-repo produces a commit-map file that does not have a file
extension. This prevents it from being uploaded without renaming the
file. Removes file type validation to permit upload.
parent 526da962
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
= _("Choose a file") = _("Choose a file")
%span.prepend-left-default.js-filename %span.prepend-left-default.js-filename
= _("No file selected") = _("No file selected")
= f.file_field :bfg_object_map, accept: 'text/plain', class: "hidden js-object-map-input", required: true = f.file_field :bfg_object_map, class: "hidden js-object-map-input", required: true
.form-text.text-muted .form-text.text-muted
= _("The maximum file size allowed is %{size}.") % { size: number_to_human_size(Gitlab::CurrentSettings.max_attachment_size.megabytes) } = _("The maximum file size allowed is %{size}.") % { size: number_to_human_size(Gitlab::CurrentSettings.max_attachment_size.megabytes) }
= f.submit _('Start cleanup'), class: 'btn btn-success' = f.submit _('Start cleanup'), class: 'btn btn-success'
......
---
title: Add support for `git filter-repo` to repository cleanup
merge_request: 33576
author:
type: added
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