Skip to content

Plugin crashes editor if a staged file has been modified and renamed #184

Closed as not planned
@megalobyte

Description

@megalobyte

Hello, I did some minor problem isolation and I believe that the plugin crashes the editor when a staged file and modified. This seems to line up with the out of range error that I see in the terminal.

Workaround:

Once a file is in this state the editor can not open, so this can not be fixed with the plugin. You need to commit the file to the git repo in order to reopen the project.

Error logs:

This is the error log in the terminal:

terminate called after throwing an instance of 'std::out_of_range'
  what():  _Map_base::at
fish: Job 1, 'godot --editor' terminated by signal SIGABRT (Abort)

Recreate

To recreate this issue, open a file being tracked in git, modify it, rename it, then try to stage the file.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions