Fix "Discard" for newly-created and renamed files See merge request gitlab-org/gitlab!21905
Attach a file by drag & drop or click to upload