This may be a stoopid question, but I have not been able to figure this out - when I want to discard changes to a file in SourceTree, why do I need to click "discard" twice for the selected file? On first click the content of the file will be discarded, but the file stays in the "unstaged" list until I discard it second time. I find it somewhat annoying.
Hi
If you are using the Windows version then I believe the is a bug we are currently working on. Could you upload screenshots to show the behaviour to confirm it is the same problem?
Hello,
This issue is present in 2.6.6.0
Thanks for your time.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Michael,
Please see the screenshots below, showing UI before and after discarding a file. As you see, the file stays in unstaged list, but the diff tells the file has no changes. The file has to be discarded twice to remove it from unstaged list.
Kind regards,
Heikki
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Thanks, can I check what version you are running?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Good question. I was pretty sure I was using latest version, but apparently I had 2.4.7.0. I updated to 2.5.5 and verified - UI behavior did not change, files need still to be discarded twice.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.