Why is the Unstaged Hunk button disabled?

I'm noticing that in some cases the Unstage Hunk button is disabled and I don't know why.  Has anyone else seen something similar and know of a solution?  Below is a screen shot within an example.  It is a .sln file.  It is very tedious and time consuming to unstage each changed line one by one because source tree wants to refresh each time which is really annoying as well.  It also won't let me unstage multiple lines unless they are contiguous so I have no choice but to do it the hard way unless someone can explain why the button is disabled.  I'm using version for windows 7 64 bit.


image2014-10-30 17:19:55.png


1 answer

I don't have these problems in versions The release notes for specifically mention fixing a variety of bugs related to the diff view:

  • SRCTREEWIN-1949: Reverse hunk button now shows correctly in Mercurial repos
  • SRCTREEWIN-1974: Stop causing the diff view to constantly refresh or unnecessarily refresh for some users
  • SRCTREEWIN-2029: Stop diff view from disappearing on selection

Thanks; I didn't realize that I was that far behind. I've downloaded the latest and will monitor to see if it is resolved.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

799 views 0 4
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you