

def get_selected_stashes(self):
    stashes = []
    lines = self.get_selected_lines()
    if lines:
        for s in self.get_all_stash_regions():
            for l in lines:
                if l.contains(s):
                    name = self.view.substr(s)
                    title = self.view.substr(self.view.line(s)).strip()
                    stashes.append((name, title))
    return stashes

dataset/ETHPy150Open SublimeGit/SublimeGit/sgit/status.py GitStatusTextCmd.get_selected_stashes/original