forked from qt-creator/qt-creator
Close write channels of git processes.
..in an attempt to suppress password prompts.
This commit is contained in:
@@ -547,6 +547,7 @@ bool GitClient::synchronousGit(const QString &workingDirectory,
|
||||
process.setEnvironment(environment.toStringList());
|
||||
|
||||
process.start(m_binaryPath, arguments);
|
||||
process.closeWriteChannel();
|
||||
|
||||
if (!process.waitForFinished()) {
|
||||
if (errorText)
|
||||
|
||||
Reference in New Issue
Block a user