diff --git a/utils/git_log.py b/utils/git_log.py index 1fe9b3a4c8eee7876ad124da5893ed3ebba10024..bbef40febc1f8d30e64b4ea7744dc3f15e42900f 100644 --- a/utils/git_log.py +++ b/utils/git_log.py @@ -49,6 +49,15 @@ class GitCommit: self._files_status = \ None + def cache(self): + """ Cache all properties + """ + self.author + self.date + self.body + self.files + self.files_status + def _log_format(self, format, args=()): # sha1 = self.sha1.decode('ascii') cmd = (