Prechádzať zdrojové kódy

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 rokov pred
rodič
commit
75b4c2deac
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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