• Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • None
    • General
    • None
    • Windows
    • 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 is a great tool for managing git sandbox.
      A small enhancement that would simplify viewing diffs is the abillity to ignore whitespace. Frequently I enclose a section of code in a block (if, loop, or for HTML <div>). This causes a whole section of code to be indented. Your Internal Diff View shows many lines changed, although only the first and the last line in the section are the real changes. I already use an external diff tool to verify that only whitespace has changed, but this takes a little extra time when reviewing changes.

            [SRCTREEWIN-2514] Add "Ignore Whitespace" option to Diff

            We are working on it.

            Mukesh Kumar added a comment - We are working on it.

            +1 for this feature.

            Dwight Holman added a comment - +1 for this feature.

            Martin added a comment -

            +1 for having it in the prefs, too

            Martin added a comment - +1 for having it in the prefs, too

            I had not noticed the settings (gear) icon above the diff window.
            There is a Diff tab in the general settings page: Tools -> Options. The settings available in that drop-down should also be in the Tools -> Options -> Diff tab.
            Since I did not see a "whitespace" option in that tab I assumed it did not exist and therefore did not think to look for it elsewhere in the GUI.

            Joshua Hoffman added a comment - I had not noticed the settings (gear) icon above the diff window. There is a Diff tab in the general settings page: Tools -> Options. The settings available in that drop-down should also be in the Tools -> Options -> Diff tab. Since I did not see a "whitespace" option in that tab I assumed it did not exist and therefore did not think to look for it elsewhere in the GUI.

            Martin added a comment -

            Have you checked SRCTREEWIN-1025 ?

            Martin added a comment - Have you checked SRCTREEWIN-1025 ?

              698877135425 Mukesh Kumar
              851245fe5d82 Joshua Hoffman
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: