Thanks for confirming the issue is related to
core.autocrlf on Windows. To avoid this issue, I think we should use (or emulate) the
-w option of
git diff to ignore any whitespace change when considering line changes (which are most of the time not taking any role in issues).
It would also be more consistent with the blame.
I created a ticket: