forked from qt-creator/qt-creator
Version Control: Release the commit message temporary file.
... and add some logging to p4.
This commit is contained in:
@@ -592,10 +592,10 @@ void GitPlugin::startCommit()
|
||||
}
|
||||
m_changeTmpFile = changeTmpFile;
|
||||
m_changeTmpFile->write(commitTemplate.toLocal8Bit());
|
||||
m_changeTmpFile->flush();
|
||||
m_changeTmpFile->flush();
|
||||
// Keep the file alive, else it removes self and forgets
|
||||
// its name
|
||||
m_changeTmpFile->seek(0);
|
||||
m_changeTmpFile->close();
|
||||
openSubmitEditor(m_changeTmpFile->fileName(), data);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user