aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/git/gitplugin.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <[email protected]>2009-08-17 09:49:56 +0200
committerFriedemann Kleint <[email protected]>2009-08-17 09:49:56 +0200
commitd7c5e2ed2471bd81cb1a477dc8d033117f753af4 (patch)
tree2fe6dddf442690211794c67ce35c2ee5d3c6cf73 /src/plugins/git/gitplugin.cpp
parent002cc5b517f209508d29620c684e42cea82fad12 (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.cpp4
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);
}