

def get_commit_message_from_tip(self):
    'Return string commit message from latest commit on branch.'
    hashes = self._get_commit_hashes()
    revision = phlgit_log.make_revision_from_hash(self._repo, hashes[(- 1)])
    message = (revision.subject + '\n')
    message += '\n'
    message += (revision.message + '\n')
    return phlsys_textconvert.ensure_ascii(message)

dataset/ETHPy150Open bloomberg/phabricator-tools/py/abd/abdt_branch.py Branch.get_commit_message_from_tip/original