Browse Source

Fix crash in repo info when `%` is used in commit messages

Fix for issue #131
http://code.google.com/p/git-repo/issues/detail?id=131

Change-Id: I078533ab5f3a83154c4ad6aa97a5525fc5139d20
Olof Johansson 13 năm trước cách đây
mục cha
commit
75b4c2deac
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      subcmds/info.py

+ 1 - 1
subcmds/info.py

@@ -48,7 +48,7 @@ class Info(PagedCommand):
     self.headtext = self.out.printer('headtext', fg = 'yellow')
     self.redtext = self.out.printer('redtext', fg = 'red')
     self.sha = self.out.printer("sha", fg = 'yellow')
-    self.text = self.out.printer('text')
+    self.text = self.out.nofmt_printer('text')
     self.dimtext = self.out.printer('dimtext', attr = 'dim')
 
     self.opt = opt