v 126.96.36.199, Windows 10 x64
I can't figure out how to use SourceTree anymore.
Staging hunks and then commiting is commiting the entire file.
I thought at first that I had accidently staged too much.
But this is repeatable.
Seems to be in either File Status view or Log/History view.
Once, after I staged a hunk, the staged and unstaged sections worked as expected. When I click on a file in unstaged, I see only those hunks that have NOT been staged. Click on a file in staged, I see only those hunks that HAVE been staged. But then click commit, review the file and all hunks are there.
Commit and all hunks are commited.
Later, the behavior changed.
After staging hunks, clicking on a file in both the staged and unstaged sections showed exactly the same hunks. I could not distinguish between staged and unstaged hunks.
The only workaround I could find was to discard all the hunks I wanted to keep, commit the rest, then in the IDE save the file to disk to get the dscarded hunks back.
Here is one issue.
The rest will have to wait until I have legitimate changes to commit.
2 hunks show changes.
Stage the second hunk.
Select FlowControl.UnitTest from the unstaged list.
Correctly shows only the first hunk.
Select the file under FlowControl.UnitTest from the staged list.
Correctly shows only the second hunk.
Select the FlowControl.UnitTest folder from the staged list.
Incorrectly shows only the first hunk, which was NOT staged.
Thank you for the extra detail.
It looks like you've found a bug in the TreeView, when selecting a Folder it is giving the wrong diff, while selecting the files shows the correct diff.
Please follow: https://jira.atlassian.com/browse/SRCTREEWIN-7358 for updates.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.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