• Icon: Suggestion Suggestion
    • Resolution: Answered
    • None
    • General
    • Sourcetree standalone on Windows 8;
      Oracle Java SE Version 7 Update 10 (build 1.7.0_10-b18)
    • 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.

      SourceTree's diff view shows a lot of unwanted whitespace differences. This slows the process of checking through the diff hunks before committing a file.

      The problem seems worse when working with XAML files.

      Whitespace differences can be filtered out easily in external tools; it would be great if SourceTree could do this too.

      If you add this feature, please consider having separate options for "ignore changes to existing whitespace" and "ignore all whitespace".

            [SRCTREEWIN-1025] Add "ignore whitespace" options for diff view

            Cees Timmerman added a comment - Please add  --ignore-blank-lines

            jrondorf added a comment -

            Added following issue for the Mac Version: https://jira.atlassian.com/browse/SRCTREE-3633

            jrondorf added a comment - Added following issue for the Mac Version: https://jira.atlassian.com/browse/SRCTREE-3633

            I can't see this option in v. 2.0.5.2 (Mac OS) either

            Daniel Pinyol Laserna added a comment - I can't see this option in v. 2.0.5.2 (Mac OS) either

            Thanks, Kor. I was looking for that check box and apparently missed this menu.

            Maxim Novikov added a comment - Thanks, Kor. I was looking for that check box and apparently missed this menu.

            Korcholis added a comment -

            Heh, I found this one Maxim, let me enlighten you:

            When in the File status or Log views, there's that gears dropdown below the file list (and right above the file changes). Click that and hit the Ignore whitespace option

            Korcholis added a comment - Heh, I found this one Maxim, let me enlighten you: When in the File status or Log views, there's that gears dropdown below the file list (and right above the file changes). Click that and hit the Ignore whitespace option

            I can't see this option in v. 2.0.5.2 (Mac OS).

            Maxim Novikov added a comment - I can't see this option in v. 2.0.5.2 (Mac OS).

            No idea how I managed to miss that!

            Thanks, and sorry for timewasting.

            Paul Strugnell added a comment - No idea how I managed to miss that! Thanks, and sorry for timewasting.

            This is already supported, it's in the bar at the top of the diff view (both for locally modified files and commit diffs):

            Steve Streeting (Inactive) added a comment - This is already supported, it's in the bar at the top of the diff view (both for locally modified files and commit diffs):

              sstreeting Steve Streeting (Inactive)
              1c354a6a528e Paul Strugnell
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: