This was a weird issue. The file kept showing up as modified but the diff did not show any difference. Turns out it was the CR. The file must have been edited in a Windows app and so all of the LFs got changed to CRs: The issue is described here: https://github.com/git-lfs/git-lfs/issues/1544. Basically the file gets modified by git bash whenever you sync to master. So it looks like you modified a file you do not think you touched. Checked in the version with LF endings so this will stop happening.
This was a weird issue. The file kept showing up as modified but the diff did not show any difference. Turns out it was the CR. The file must have been edited in a Windows app and so all of the LFs got changed to CRs: The issue is described here: https://github.com/git-lfs/git-lfs/issues/1544. Basically the file gets modified by git bash whenever you sync to master. So it looks like you modified a file you do not think you touched. Checked in the version with LF endings so this will stop happening.