One tiny final segment changes the comparison result of nearly identical files

No newline at end of file: how one byte changes a Git diff

How a final newline differs from a blank line and why one byte affects git diff and git blame.

July 12, 2026