Skip to content

Error in Git UI when performing revert #776

Closed
@raymond-rebbeck

Description

@raymond-rebbeck

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:
Image

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:
Image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions