Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
3da6ca09
Commit
3da6ca09
authored
Apr 07, 2009
by
dt
Browse files
Kill the git process if we timed out waiting for it.
parent
c95f079f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/git/gitclient.cpp
View file @
3da6ca09
...
...
@@ -544,9 +544,11 @@ bool GitClient::synchronousGit(const QString &workingDirectory,
process
.
setEnvironment
(
environment
.
toStringList
());
process
.
start
(
m_binaryPath
,
arguments
);
if
(
!
process
.
waitForFinished
())
{
if
(
errorText
)
*
errorText
=
"Error: Git timed out"
;
process
.
kill
();
return
false
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment