

def set_status(self, view):
    kind = get_setting('git_status_bar', 'fancy')
    if (kind not in ('fancy', 'simple')):
        return
    repo = self.get_repo_from_view(view)
    if (not updater):
        return
    bin = get_executable('git', self.bin)
    encoding = get_setting('encoding', 'utf-8')
    fallback = get_setting('fallback_encodings', [])
    updater = GitStatusBarUpdater(bin, encoding, fallback, repo, kind, view)
    updater.start()

dataset/ETHPy150Open SublimeGit/SublimeGit/sgit/status.py GitStatusBarEventListener.set_status/VarMisuse@50/71 `repo`->`updater`