def METHOD_NAME(self):
    # type: () -> List[Commit]
    commits = [
        Commit(*line.split("%00"))
        for line in self.git(
            "log",
            "-n", "100",
            (
                "--format="
                "%h%00"
                "%d%00"
                "%s"
            ),
            throw_on_error=False
        ).strip().splitlines()
    ]
    if commits:
        short_hash_length = len(commits[0].hash)
        store.update_state(self.repo_path, {"short_hash_length": short_hash_length})
    store.update_state(self.repo_path, {
        "recent_commits": commits,
    })
    return commits