Diff Editor - margin revert icon should not be rendered when documents are read-only #186331
Labels
bug
Issue identified by VS Code Team member as probable bug
diff-editor
Diff editor mode issues
insiders-released
Patch has been released in VS Code Insiders
verified
Verification succeeded
Milestone
Testing #186213
Used GitLens to compare a file between two branches which opens a diff editor where both sides are read-only. the margin revert icon is rendered to revert the change but it is a no-op since the document is read-only. We should not be rendering these glyphs for read-only documents.
This scenario can also be reproduced easier with:
The text was updated successfully, but these errors were encountered: