Skip to content

GitExtensionsVSIX.Git.GitCommands.RunGit accesses ExitCode before WaitForExit #3

@mstv

Description

@mstv

Current behaviour

GitExtensionsVSIX.Git.GitCommands.RunGit accesses Process.ExitCode before calling Process.WaitForExit.
I expect Process.ExitCode to throw an InvalidOperationException.

(RunGit is called by GetCurrentBranch only.)

Expected behaviour

Access ExitCode after the process has exited.

Did this work in previous version of GitExtensions

don't know

Environment

GE 3.4.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions