diff options
author | Friedemann Kleint <[email protected]> | 2009-08-17 09:49:56 +0200 |
---|---|---|
committer | Friedemann Kleint <[email protected]> | 2009-08-17 09:49:56 +0200 |
commit | d7c5e2ed2471bd81cb1a477dc8d033117f753af4 (patch) | |
tree | 2fe6dddf442690211794c67ce35c2ee5d3c6cf73 /src/plugins/git/gitplugin.cpp | |
parent | 002cc5b517f209508d29620c684e42cea82fad12 (diff) |
Version Control: Release the commit message temporary file.
... and add some logging to p4.
Diffstat (limited to 'src/plugins/git/gitplugin.cpp')
-rw-r--r-- | src/plugins/git/gitplugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/git/gitplugin.cpp b/src/plugins/git/gitplugin.cpp index 3c3161b4712..304d4a45f31 100644 --- a/src/plugins/git/gitplugin.cpp +++ b/src/plugins/git/gitplugin.cpp @@ -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); } |