def on_activated(self, view):
        if view.settings().get('git_view') == 'status' and get_setting('git_update_status_on_focus', True):
            goto = None
            if view.sel():
                goto = "point:%s" % view.sel()[0].begin()
            view.run_command('git_status_refresh', {'goto': goto})
dataset/ETHPy150Open SublimeGit/SublimeGit/sgit/status.py/GitStatusEventListener.on_activated/original