From 492e425464979642f9de20a1340ab328d50c7312 Mon Sep 17 00:00:00 2001 From: Torgny Nyblom Date: Mon, 20 Dec 2010 21:12:27 +0100 Subject: Make the tagging commands visible in the gitlog aswell --- src/repository.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src') 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); -- cgit v1.2.1