Uploaded image for project: 'Sourcetree for Windows'
  1. Sourcetree for Windows
  2. SRCTREEWIN-7627

Improve message displayed when diff fails because file is too large

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Gathering Interest (View Workflow)
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      h3.  
    • Feedback Policy:

      Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Description

      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).

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            aretamalortiz Ana Retamal
            Votes:
            19 Vote for this issue
            Watchers:
            10 Start watching this issue

              Dates

              Created:
              Updated: