Improve message displayed when diff fails because file is too large

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Fixed
    • 3.4.21
    • Component/s: None
    • None
    • Environment:
      h3.  

      Summary

      I have a large XML file stored in Git (GitHub) repo.

      [user@host tools]$ ls -lh somefile.xml
      rw-rr- 1 user users 1.6M Jul 19 17:25 somefile.xml
      [user@host tools]$ file somefile.xml
      somefile.xml: XML document, UTF-8 Unicode text, with very long lines

      By default SourceTree for Windows is not showing diff for this file in any commit.

      It shows a message "No changes in this file have been detected, or it is a binary file".

      But when I go to Options / Diff and change Size Limit (Text) from the default 1024KB to something larger than the above file size (ie. 10240KB) then it shows the diff correctly.

      The default error message shown for this file is misleading, because it not a binary nor an unchanged file. SourceTree should warn that this file is too large to show a diff using current settings

      I'm using SourceTree 2.1.2.5 on Windows 7, with NTFS filesystem.

      Solution

      Improve the messaging in the UI to inform users as to why the diff is not being displayed (large size in this case).

            Assignee:
            Mukesh Kumar (Inactive)
            Reporter:
            Ana Retamal
            Votes:
            19 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: