Gitlab will not show any diffs on an MR if there is a text file that has a null byte at the end (0x0)
Summary
gitlab will not show any diffs on an MR if there is a text file that has a null byte at the end (0x0)
Steps to reproduce
gitlab will not show any diffs on an MR if there is a text file that has a null byte at the end (0x0), even if .gitattributes flags the file as binary with "*.cfg -diff -text -merge" Instead we just get a spinning wheel of nothingness on the MR.
Here's what the changes look like on the branch before creating the MR: (note the .cfg file seems to think it is text in spite of .gitattributes entry above):