def __get_commit_message_parts(self, commit_subject, commit_description):
        if commit_subject is not None:
            return commit_subject, commit_description

        if self.__rietveld_info.review_info is None:
            # RemoteInfo always populated in callback()
            remote_branch = self.__rietveld_info.remote_info.remote_branch_ref
            last_commit = self.__rietveld_info.remote_info.commit_hash
        else:
            remote_branch = None
            last_commit = self.__rietveld_info.review_info.last_commit

        return utils.get_user_commit_message_parts(
                last_commit, self.__current_head, remote_branch=remote_branch)
Gets commit subject and description for the current patch set.
dataset/ETHPy150Open googlearchive/git-rv/export.py/ExportAction.__get_commit_message_parts