"Discard All Changes" shows checkboxes for repositories with no changes

Originator:jediknil
Number:rdar://FB8021985 Date Originated:2020-07-15
Status:Open Resolved:
Product:Xcode Product Version:11.5 (11E608c)
Classification:Suggestion Reproducible:
 
I have a workspace that contains projects from multiple folders with separate git repositories. I modified files in one project, then went to Source Control > Discard All Changes…. The sheet asked me which repositories to discard changes for, which gave me a momentary fright that I had accidentally modified the files in the other repositories as well. But no, the sheet just didn’t check first. It would be better if it didn’t show those repositories at all, or showed them greyed out with an explanation, just as if there are /no/ changes the sheet won’t come up.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!