typst / webapp-issues

Issue tracker for Typst's web app.
https://typst.app
13 stars 0 forks source link

"There is a mismatch between file name and format" error when pushing to git repo #471

Closed peng1999 closed 1 week ago

peng1999 commented 1 month ago

Description

After writing the commit message and click "push" button, the error occurs and refuse to proceed pushing.

This is the layout of the repo:

image

The latex folder is not used but I want to keep that. Is that cause a problem?

Reproduction URL

No response

Browsers

Firefox

OS

macOS

reknih commented 1 week ago

This is now fixed in almost all cases. Previously, faulty logic prevented the move of file types not known to the web app. This is now resolved, see #244. It can still happen in rare edge cases (i.e. when a file that was UTF-8 decodable ceases to be). We are tracking this internally but since it should be now fixed for almost all cases, I'll close this issue.