cancel
Showing results for 
Search instead for 
Did you mean: 

How to upload text file with patch?

Hi,

I am trying to upload a txt file, that contains a git patch, but the editor keeps telling me, that the content of the file does not match its mime type. How can I upload it?

Screenshot_20230629_081856.png

Best regards,

Tomáš

3 REPLIES 3
Laurids_PETERSEN
Community manager
Community manager

Hi Tomáš,
Try to remove the ".patch" part of the file and reupload it, let me know what the results are. 

Best regards,
Laurids Petersen

Hi,

I have tried to remove the ".patch" substring, but the result is the same. I think that there is something wrong with the validation of the content because I am allowed to upload a different txt file (it contains some logs) with the same name as the original patch file (ie. 0001-mmc-mmci-stm32-Backport-changes-from-kernel-6.1.patch.txt).

Best regards,
Tomáš.

Hi Tomáš, 
I sent you a PM. 

Best regards,
Laurids Petersen