I use gitea for storing my code and noticed that it doesn\'t obey .gitattributes when diffing.
.gitattributes
Having looked into this it seems to be an issue with bare repo