trying to put sql in bitbucket but it wants to treat it as binary so pull requests do not show diffs. I know that gitattributes solves this on the local side but not bitbucket. Any solutions?
when you export sql files from MS SQL Server Management Studio in unicode (by default), it puts a "FF FE BOM" at the front of the file which forces bitbucket to treat it as binary. Exporting as ANSI solved it.
Thanks, saving with UTF-8 (without BOM) solves that issue too. But this is a only a workaround.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.