aboutsummaryrefslogtreecommitdiffstats
path: root/src/repository.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/repository.cpp')
-rw-r--r--src/repository.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/repository.cpp b/src/repository.cpp
index 4aa7695..7de840f 100644
--- a/src/repository.cpp
+++ b/src/repository.cpp
@@ -637,6 +637,7 @@ void Repository::Transaction::commit()
branchRef.prepend("refs/heads/");
QTextStream s(&repository->fastImport);
+ s.setCodec("UTF-8");
s << "commit " << branchRef << endl;
s << "mark :" << QByteArray::number(mark) << endl;
s << "committer " << QString::fromUtf8(author) << ' ' << datetime << " -0000" << endl;