-6

enter image description here

the content is generated by unplugin-vue-router, nothing changed but git says it changed. if submit, it will report nothing changed original content is \u203C\uFE0F, but when vite build run, it will turns into emoji(visually). why git recognize it changed?


update 2025/11/20: verified again and git message is correct. every time run "vite build", "\u203C\uFE0F" changed to "!!"(red emoji); every time run "vite dev", "!!"(red emoji) changed to "\u203C\uFE0F". I guess maybe it's a problem of vite or esbuild?

3
  • 1
    Do not post pictures of text. Especially not black-on-black text. Commented Nov 15 at 17:49
  • If git says something has changed, something has changed, period. Not all changes are visible. Actially, when you say that something “will turns into”, it means you change something. If you think you found a bug in git, you have to report it to the git team. It is much more likely that your observations are obtained in an incorrect way. Commented Nov 16 at 2:04
  • Do you have the text "\u203C\uFE0F" (12 characters) inside your original file and now you have only the one character "‼️" in it? Also, which encoding do you use in your file? Commented Nov 16 at 11:53

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.