

def logical_goto_next_stash(self):
    goto = 'stash:1'
    stashes = self.get_selected_stashes()
    if stashes:
        goto = ('stash:%s:stashes' % stashes[(- 1)][0])
    return goto

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