Description
On the latest main branch of git-source-control (also tested on 2.10 with the same result) an error is generated when using the Revert - Hard Reset feature. This is with an otherwise empty workspace. The hard reset is actually performed, the error seems to be generated when refreshing the screen afterwards.
In Studio the following error is seen after doing a hard reset, closing this and going in and out of another screen shows the reverted commit disappear as expected:
In VS Code similar behaviour is observed, however the error is shown only in the developer console, the screen does not refresh but does if going in and out of another screen afterwards:
Similar errors with different line numbers are observed when using the second 'Revert' button to the left of 'Hard Reset'.
IRIS for UNIX (Ubuntu Server LTS for x86-64 Containers) 2024.1 (Build 267_2U) Tue Apr 30 2024 16:04:37 EDT