MCPcopy
hub / github.com/jisaacks/GitGutter / git_commits

Method git_commits

modules/handler.py:580–593  ·  view source on GitHub ↗

r"""Query all commits. The git output will have following format splitted by \a: ( ago)

(self)

Source from the content-addressed store, hash-verified

578 ]).then(lambda x: bool(x))
579
580 def git_commits(self):
581 r"""Query all commits.
582
583 The git output will have following format splitted by \a:
584 <hash> <title>
585 <name> <email>
586 <date> (<time> ago)
587 """
588 return self.execute_async([
589 self._git_binary,
590 'log', '--all',
591 '--pretty="%h | %s\a%an <%aE>\a%ad (%ar)"',
592 '--date=local', '--max-count=9000'
593 ])
594
595 def git_file_commits(self):
596 r"""Query all commits with changes to the attached file.

Callers 1

set_against_commitFunction · 0.80

Calls 1

execute_asyncMethod · 0.95

Tested by

no test coverage detected