Dirty Repository State in 5.0.0

Thank you all very much for your hard work on this library! In the recent 5.0.0 version, I encountered a dirty repository state. If we, for example, check it out on Linux as follows, you can see:

$ git clone https://gitlab.com/libeigen/eigen.git
$ cd eigen/
$ git status
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean

$ git checkout 5.0.0
$ git status
HEAD detached at 5.0.0
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
	modified:   debug/msvc/eigen.natvis
	modified:   debug/msvc/eigen_autoexp_part.dat

no changes added to commit (use "git add" and/or "git commit -a")

I believe that this has something to do with:

$ cat .gitattributes 
*.sh                         eol=lf
debug/msvc/*.dat             eol=crlf
debug/msvc/*.natvis          eol=crlf

At least after commenting the last 2 lines:

$ git status
HEAD detached at 5.0.0
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
	modified:   .gitattributes

no changes added to commit (use "git add" and/or "git commit -a")