79083325

Date: 2024-10-13 14:16:14
Score: 0.5
Natty:
Report link

I just found out that if you have a BOM (Byte Order Mark) in your file before a commit, and don't have one after it, then when you git diff the file before and after the commit, it will appear that the first line is both removed and added, but the removed line will have a mysterious space at the beginning. It turns out that that mysterious space is the BOM.

Reasons:
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: palapapa