From: Luke Diamand Date: Mon, 16 Jan 2012 23:14:47 GMT Subject: [PATCH 2/4] git-p4: cope with labels with empty descriptions Message-ID: <1326755689-3344-3-git-send-email-luke@diamand.org> In-Reply-To: <1326755689-3344-1-git-send-email-luke@diamand.org> Use an explicit length for the data in a label, rather than EOT, so that labels with empty descriptions are passed through correctly. Signed-off-by: Luke Diamand --- contrib/fast-import/git-p4 | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/contrib/fast-import/git-p4 b/contrib/fast-import/git-p4 index 822e6f1..f7707f2 100755 --- a/contrib/fast-import/git-p4 +++ b/contrib/fast-import/git-p4 @@ -1741,9 +1741,11 @@ class P4Sync(Command, P4UserMap): else: tagger = "%s %s %s" % (owner, epoch, self.tz) self.gitStream.write("tagger %s\n" % tagger) - self.gitStream.write("data <