aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTorgny Nyblom <kde@nyblom.org>2010-12-20 21:12:27 +0100
committerTorgny Nyblom <kde@nyblom.org>2010-12-20 21:12:27 +0100
commit492e425464979642f9de20a1340ab328d50c7312 (patch)
treef73832180e3ef35ab02c86311212dd482e685769 /src
parent1760fafad78439a11e2c925623456e5b4b6b9390 (diff)
downloadsvn2git-492e425464979642f9de20a1340ab328d50c7312.tar
svn2git-492e425464979642f9de20a1340ab328d50c7312.tar.gz
svn2git-492e425464979642f9de20a1340ab328d50c7312.tar.bz2
svn2git-492e425464979642f9de20a1340ab328d50c7312.tar.xz
svn2git-492e425464979642f9de20a1340ab328d50c7312.zip
Make the tagging commands visible in the gitlog aswell
Diffstat (limited to 'src')
-rw-r--r--src/repository.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/repository.cpp b/src/repository.cpp
index ac0a34b..a35980f 100644
--- a/src/repository.cpp
+++ b/src/repository.cpp
@@ -459,12 +459,12 @@ void Repository::finalizeTags()
if (!branchRef.startsWith("refs/"))
branchRef.prepend("refs/heads/");
- QTextStream s(&fastImport);
- s << "progress Creating annotated tag " << tagName << " from ref " << branchRef << endl
- << "tag " << tagName << endl
- << "from " << branchRef << endl
- << "tagger " << QString::fromUtf8(tag.author) << ' ' << tag.dt << " -0000" << endl
- << "data " << message.length() << endl;
+ QByteArray s = "progress Creating annotated tag " + tagName.toUtf8() + " from ref " + branchRef + "\n"
+ + "tag " + tagName.toUtf8() + "\n"
+ + "from " + branchRef + "\n"
+ + "tagger " + tag.author + ' ' + QByteArray::number(tag.dt) + " -0000" + "\n"
+ + "data " + QByteArray::number( message.length() ) + "\n";
+ fastImport.write(s);
}
fastImport.write(message);