def get_selected_lines(self):
        sels = self.view.sel()
        selected_lines = []
        for selection in sels:
            lines = self.view.lines(selection)
            for line in lines:
                if self.view.score_selector(line.begin(), 'meta.git-status.line') > 0:
                    selected_lines.append(line)
        return selected_lines

    # stash helpers
dataset/ETHPy150Open SublimeGit/SublimeGit/sgit/status.py/GitStatusTextCmd.get_selected_lines/original