ソースを参照

Fix: missing spaces in info command output

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

Change-Id: I6c5dddc15743e98c3b43702cb5d3ec32f81c3221
David Pursehouse 13 年 前
コミット
e0b6de32f7
1 ファイル変更3 行追加3 行削除
  1. 3 3
      subcmds/info.py

+ 3 - 3
subcmds/info.py

@@ -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()