ProgressDlg: prevent possible race condition with git.exe return code (mainly x86)
commitd41b919e5e2ff00935d8962c61915ca92a09d5ac
authorSven Strickroth <email@cs-ware.de>
Wed, 1 Feb 2012 10:10:51 +0000 (1 11:10 +0100)
committerSven Strickroth <email@cs-ware.de>
Wed, 1 Feb 2012 10:10:51 +0000 (1 11:10 +0100)
treedd39944845536c61d2254be705188ac72065f28e
parente34a4a7186aab810b12847fcc9716ab99bf2b6ec
ProgressDlg: prevent possible race condition with git.exe return code (mainly x86)

RunCmdList returned the return code of the git commands, but the messages MSG_PROGRESSDLG_END and MSG_PROGRESSDLG_FAILED are sent before that, so OnProgressUpdateUI might got an uninitialized value of m_GitStatus. Included the return code into the message to prevent this.

Signed-off-by: Sven Strickroth <email@cs-ware.de>
src/TortoiseProc/ProgressDlg.cpp