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
Current behaviour
GitExtensionsVSIX.Git.GitCommands.RunGit
accessesProcess.ExitCode
before callingProcess.WaitForExit
. I expectProcess.ExitCode
to throw anInvalidOperationException
.(
RunGit
is called byGetCurrentBranch
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