Reproduction steps:
1. Open the attached “unity-asset-rename-test_clean.zip” project
2. Open the Command Prompt in the project’s folder
3. Run “git reset --hard” and then “git status” in the Command Prompt
4. Observe that the git tree is clean and there’s nothing to commit
4. Open the “/Asset/NameTest” folder in the Project window
5. Rename the “A” Asset to “X”
6. Rename the “B” Asset to “A”
7. Rename the “X” Asset to “B”
8. Run the “git status” command in the Command Prompt
Expected result: Asset meta files are not ignored and both “A.asset”, “B.asset” and their meta files are recognized as modified
Actual result: Asset meta files are ignored and only “A.asset”, “B.asset” are recognized as modified
Reproducible with: 2020.3.46f1, 2021.3.20f1, 2022.2.9f1, 2023.1.0b7, 2023.2.0a5
Reproducible on: Windows 10 (21H2)