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

Method git_compare_commit

modules/handler.py:684–691  ·  view source on GitHub ↗

Query the commit hash of the compare target. Arguments: compare_against - The reference to compare against if not a hash.

(self, compare_against)

Source from the content-addressed store, hash-verified

682 ]).then(parse_output)
683
684 def git_compare_commit(self, compare_against):
685 """Query the commit hash of the compare target.
686
687 Arguments:
688 compare_against - The reference to compare against if not a hash.
689 """
690 return self.execute_async([
691 self._git_binary, 'rev-parse', compare_against])
692
693 def git_blame(self, row):
694 """Call git blame to find out who changed a specific line of code"""

Callers 1

update_git_fileMethod · 0.95

Calls 1

execute_asyncMethod · 0.95

Tested by

no test coverage detected