diff options
author | David Pursehouse <david.pursehouse@sonymobile.com> | 2012-11-21 17:36:28 +0900 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2013-01-29 00:02:46 +0000 |
commit | e0b6de32f74cd2f069d1544bbbb08f6d45f6d27b (patch) | |
tree | a2aa7476b7d1b3a240275b0fe710335c979a632c | |
parent | 4baf87f92c55d3daba1410f04bd10f1a41a088b8 (diff) | |
download | git-repo-e0b6de32f74cd2f069d1544bbbb08f6d45f6d27b.tar.gz |
Fix: missing spaces in info command output
Text should be joined with " " rather than "" in the output.
Change-Id: I6c5dddc15743e98c3b43702cb5d3ec32f81c3221
-rw-r--r-- | subcmds/info.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/subcmds/info.py b/subcmds/info.py index 3a25e3b5..d2d4f5e9 100644 --- a/subcmds/info.py +++ b/subcmds/info.py | |||
@@ -138,7 +138,7 @@ class Info(PagedCommand): | |||
138 | for c in localCommits: | 138 | for c in localCommits: |
139 | split = c.split() | 139 | split = c.split() |
140 | self.sha(split[0] + " ") | 140 | self.sha(split[0] + " ") |
141 | self.text("".join(split[1:])) | 141 | self.text(" ".join(split[1:])) |
142 | self.out.nl() | 142 | self.out.nl() |
143 | 143 | ||
144 | self.printSeparator() | 144 | self.printSeparator() |
@@ -150,7 +150,7 @@ class Info(PagedCommand): | |||
150 | for c in originCommits: | 150 | for c in originCommits: |
151 | split = c.split() | 151 | split = c.split() |
152 | self.sha(split[0] + " ") | 152 | self.sha(split[0] + " ") |
153 | self.text("".join(split[1:])) | 153 | self.text(" ".join(split[1:])) |
154 | self.out.nl() | 154 | self.out.nl() |
155 | 155 | ||
156 | def printCommitOverview(self, args): | 156 | def printCommitOverview(self, args): |
@@ -191,5 +191,5 @@ class Info(PagedCommand): | |||
191 | split = commit.split() | 191 | split = commit.split() |
192 | self.text('{0:38}{1} '.format('','-')) | 192 | self.text('{0:38}{1} '.format('','-')) |
193 | self.sha(split[0] + " ") | 193 | self.sha(split[0] + " ") |
194 | self.text("".join(split[1:])) | 194 | self.text(" ".join(split[1:])) |
195 | self.out.nl() | 195 | self.out.nl() |