mirror of
https://github.com/Dev-Wiki/git-repo.git
synced 2025-02-23 23:27:27 +08:00
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:
parent
4baf87f92c
commit
e0b6de32f7
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user