From: Luke Diamand Date: Thu, 19 Jan 2012 09:52:26 +0000 (+0000) Subject: git-p4: cope with labels with empty descriptions X-Git-Tag: v1.7.10-rc0~131^2~3 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a37a8de8d61f5af3a2d347c6d6668f4316f48383;p=git.git git-p4: cope with labels with empty descriptions 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 Acked-by: Pete Wyckoff Signed-off-by: Junio C Hamano --- diff --git a/contrib/fast-import/git-p4 b/contrib/fast-import/git-p4 index e8c586e24..8aa84f2ca 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 <