Fix: missing spaces in info command output

Text should be joined with " " rather than "" in the output.

Change-Id: I6c5dddc15743e98c3b43702cb5d3ec32f81c3221
This commit is contained in:
David Pursehouse 2012-11-21 17:36:28 +09:00 committed by Gerrit Code Review
parent 4baf87f92c
commit e0b6de32f7

View File

@ -138,7 +138,7 @@ class Info(PagedCommand):
for c in localCommits:
split = c.split()
self.sha(split[0] + " ")
self.text("".join(split[1:]))
self.text(" ".join(split[1:]))
self.out.nl()
self.printSeparator()
@ -150,7 +150,7 @@ class Info(PagedCommand):
for c in originCommits:
split = c.split()
self.sha(split[0] + " ")
self.text("".join(split[1:]))
self.text(" ".join(split[1:]))
self.out.nl()
def printCommitOverview(self, args):
@ -191,5 +191,5 @@ class Info(PagedCommand):
split = commit.split()
self.text('{0:38}{1} '.format('','-'))
self.sha(split[0] + " ")
self.text("".join(split[1:]))
self.text(" ".join(split[1:]))
self.out.nl()