From: Luke Diamand Date: Thu, 19 Jan 2012 09:52:26 GMT Subject: [PATCHv4 2/5] git-p4: cope with labels with empty descriptions Message-ID: <1326966749-9077-3-git-send-email-luke@diamand.org> In-Reply-To: <1326966749-9077-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 163e95a..5b59bc8 100755 --- a/contrib/fast-import/git-p4 +++ b/contrib/fast-import/git-p4 @@ -1752,9 +1752,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 <