

def run(self, edit):
    repo = self.view.settings().get('git_repo')
    if (not repo):
        return
    transient = (get_setting('git_status_open_files_transient', True) is True)
    files = self.get_selected_files()
    window = self.view.window()
    for (s, f) in files:
        filename = os.path.join(repo, f)
        if transient:
            window.open_file(filename, sublime.TRANSIENT)
        else:
            window.open_file(filename)

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