

def run(self, edit):
    repo = self.get_repo()
    if (not repo):
        return
    files = self.get_selected_files()
    window = self.view.window()
    for (s, f) in files:
        if (s != UNTRACKED_FILES):
            cached = (s == STAGED_CHANGES)
            window.run_command('git_diff', {
                'repo': repo,
                'path': f,
                'cached': cached,
            })

dataset/ETHPy150Open SublimeGit/SublimeGit/sgit/status.py GitStatusDiffCommand.run/original