Skip to content
Snippets Groups Projects
Commit ce3cca04 authored by Campbell Barton's avatar Campbell Barton
Browse files

Add cache method to git-log

parent ffddb3dc
No related branches found
No related tags found
No related merge requests found
......@@ -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 = (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment