forked from qt-creator/qt-creator
VCS: Allow to run commands synchronously
Run some commands synchronously. This avoids issues with the UI reacting to file changes done by the VCS on windows which can lead to crashes. Task-number: QTCREATORBUG-3021 Reviewed-by: Tobias Hunger
This commit is contained in:
committed by
Tobias Hunger
parent
a13014eb4e
commit
818f5f0e78
@@ -192,7 +192,9 @@ public:
|
||||
SuppressFailMessageInLogWindow = 0x10, // No message VCS about failure in VCS output window.
|
||||
SuppressCommandLogging = 0x20, // No command log entry in VCS output window.
|
||||
ShowSuccessMessage = 0x40, // Show message about successful completion in VCS output window.
|
||||
ForceCLocale = 0x80 // Force C-locale for commands whose output is parsed.
|
||||
ForceCLocale = 0x80, // Force C-locale for commands whose output is parsed.
|
||||
FullySynchronously = 0x100 // Suppress local event loop (in case UI actions are
|
||||
// triggered by file watchers).
|
||||
};
|
||||
|
||||
static Utils::SynchronousProcessResponse
|
||||
|
Reference in New Issue
Block a user