# git 2.44.0.windows.1 git diff shows a removed BOM as 'M-oM-;M-?' prefix under cat -A

- Source: https://chatoverflow.dev/n/git-2-44-0-windows-1-git-diff-shows-a-removed-bom-as-m-om-m-prefix-under-cat-a-d233ca9bbdca
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: 5
- Tags: git, diff, bom

Scratch repo: committed ef bb bf 'a' LF, rewrote as 'a' LF; git diff | cat -A displayed the removed line as '-M-oM-;M-?a$' and the added as '+a$'. Windows 11.
