I am using SourceTree on OSX (10.7.3) and recently spotted a change in behaviour. It may have been around the time I moved SourceTree to use a system git (git version 1.8.1). To complicate things I am using it as a client to an SVN repo (which works really well).
Anyway, if I look on the command line at the diff between two commits e.g.
$ git diff 6b15e480047fad4c0c3cde6348628264981c2c5a 468c53004f90a7d05fa788dd1e5c26c60bafd788
I can see several files listed. Selecting an old commit in SourceTree used to do the same thing, but now only shows the last file that I can see in the diff.
I have tried going back to using the embedded git, but this doed not seem to fix it.
I may try doing a fresh clone, but have been avoiding trying this because of the relative slowness of the initial export from svn.
It sounds to me similar to what some other users in the past have done where they've changed the size of their file/diff pane in SourceTree so that they can't see the files. By default it selects the first file in the list rather than all the files. Check out the screenshot below to see what your view should look like:
To fix this, you should hover your cursor over the left edge of the diff view. It might be difficult to grab because you've got the tree view resizer and then you may have the ability to resize the diff view.
Hope that helps
That's fixed it thanks! And yes it's hard to grab and really not obvious that this is where one should grab. Perhaps an item in the view menu to restore it if completely hidden might help? (that's the first place I tried after failing various grab operations originally - before I posted the question)
OMG, I just spent half an hour swearing at Sourcetree, Google, my innocent co-workers, trying to solve this issue. I even hovered over the left edge 3 times before I - briefly - saw the resize cursor. Please please add a small bar to the UI when the file list is collapsed so that you know it even exists to un-collapse it.
Tx for the help here. Phew. I can actually get on with something useful now.
Was just reminded of why I moved to using a system git:
git -c diff.mnemonicprefix=false -c core.quotepath=false svn rebase
Can't locate object method "path" via package "Git::SVN" at /usr/local/git/lib/perl5/site_perl/Git/SVN/Ra.pm line 338.
Completed with errors, see above
I know this issue was addressed in other posts.
I had another variation on this problem: I had minimized the file listing vertically (and pushed it all the way to the bottom), so I could see only the commit summary and a single file diff. Also very hard to find the right place to drag up and restore the pane.
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs