Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Difference in diif suppression between Windows and Mac SourceTree

I have a file which is quite large 33K lines and 1.4MB on disk. I have increased the size of text files to diff in the options on both version of the application. Mac version will show me the diff output, but Windows one does not. Is this a bug or expected behaviour and can I change it on Windows to be the same as Mac. Thanks Dave

1 answer

1 accepted

1 vote
Answer accepted

The threshold at which the entire diff is suppressed (ie git diff is not even issued) operates the same way on both Mac and Windows. However on Windows there's an additional setting called 'Max Diff Line Count' which truncates the *display* of the diff beyond a certain point (default 500 lines). This is because we've discovered that WPF isn't anywhere near as efficient as Cocoa when dealing with large formatted content and can get really sluggish as the diffs get larger. So we truncate the diff beyond that point to keep the interface snappy, on the assumption that beyond a certain size diff it becomes unwieldy to manipulate via hunk/line operations anyway. You can always get the full diff using the External Diff option, or tweak the Max Diff Line Count setting to your liking.

Thanks for the answer. It didn't fix the issue, but it turned out to be a problem with one file which GIT throught had garbage in it.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Sourcetree

[dev team] Sourcetree for Windows 2019 Preview - Dark Theme

Hi folks, While the full post is over on our blog I'd like to share the dark theme we've got planned for 2019 here directly as well to keep the discussion going.  The ...

3,252 views 19 18
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you