Skip to content

Deadlock When Accessing Submodule ObjectId when Directory Structure Changed #1071

Closed
@whoisj

Description

@whoisj

If the target directory of a submodule get deleted (common method of command line users to reset submodules) the Submodule.WorkDirCommitId deadlocks attempting to read the ObjectId.

Similarly, the IndexCommitId and HeadCommitId can get "stuck" when the disk is in an unexpected state.

I'll take ownership of this issue and try to get a PR up today to resolve it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions