I accidentally checked in a utf8 encoded text file from Windows without removing the BOM before. Now I tried to remove it in a later version and check-in this change again. It seems as git ignores the change to the BOM bytes. Is there a setting to make git let me check-in the file like it is? (I know there is a similar issue when it comes to line endings – and there is a setting for this one…)
I accidentally checked in a utf8 encoded text file from Windows without removing the
Share
If you can make this reproducible, by all means report a bug
Here’s my two cents:
Verify different objects present:
or, slightly more direct
This is with git 1.7.4.1 on ubuntu 64 bit