Finds commit with given message.
(repo: Repo, message: str)
| 346 | |
| 347 | |
| 348 | def _get_commit_with_message(repo: Repo, message: str) -> str: |
| 349 | """Finds commit with given message.""" |
| 350 | escaped_message = message.replace("[", "\\[").replace("]", "\\]") |
| 351 | |
| 352 | return repo.git.rev_list(repo.active_branch.name, "--grep", escaped_message, "-n", "1") |
| 353 | |
| 354 | |
| 355 | def get_implementation_code_diff(repo_path: Union[str, os.PathLike], frid: str, previous_frid: str) -> dict: |
no outgoing calls
no test coverage detected