

def unstash_it(sync=False, branch=None):
    'Unstashes changes from current branch for branch sync.'
    repo_check()
    stash_index = unstash_index(sync=sync, branch=stash_index)
    if (stash_index is not None):
        return repo.git.execute([git, 'stash', 'pop', 'stash@{{{0}}}'.format(stash_index)])

dataset/ETHPy150Open kennethreitz/legit/legit/scm.py unstash_it/VarMisuse@32/58 `branch`->`stash_index`