def get_ready_changes(self):
        ready = {
            'fields': (
                self.get_fields('HEAD') - self.get_fields(self.git_merge_base)
            ),
            'links': (
                self.get_links('HEAD') - self.get_links(self.git_merge_base)
            ),
            'new_comment': self.get_new_comment(ready=True),
        }

        changed_files = self.filter_ignored_files(
            self.run_git_command(
                'diff',
                '--name-only',
                '%s..master' % self.git_merge_base,
            ).split('\n'),
            constants.LOCAL_ONLY_FILE
        )
        ready['files'] = changed_files

        return ready
dataset/ETHPy150Open coddingtonbear/jirafs/jirafs/ticketfolder.py/TicketFolder.get_ready_changes/original