Sourcetree 看不了文件内容 Diff was suppressed because of file size or pattern

原因

问题: Sourcetree 看不了文件内容 Diff was suppressed because of file size or pattern。

升级了Sourcetree 4.0.1后,由于偏好设置默认的对比文件中有文本文件的大小限制,所以无法对某些被识别为文本文件类型的文件进行差异对比。
Sourcetree 看不了文件内容 Diff was suppressed because of file size or pattern

解决方法

Sourcetree > Preferences (或者快捷键Command + ,) > Diff > Size limit (text): > 笔者从1024 KB 修改为 10024KB。 重启Sourcetree,问题解决。
Sourcetree 看不了文件内容 Diff was suppressed because of file size or pattern

参考

https://community.atlassian.com/t5/Sourcetree-questions/Maximum-file-size-for-diff-in-Sourcetree/qaq-p/335343