

def stash_it(sync=False):
    repo_check()
    msg = ('syncing branch' if sync else 'switching branches')
    return repo.git.execute([git, 'stash', 'save', '--include-untracked', LEGIT_TEMPLATE.format(sync)])

dataset/ETHPy150Open kennethreitz/legit/legit/scm.py stash_it/VarMisuse@46/73 `msg`->`sync`