def on_activated(self, view):
        if ('diff', 'diff-cached') in view.settings().get('git_view') and get_setting('git_update_diff_on_focus', True):
            view.run_command('git_diff_refresh')
dataset/ETHPy150Open SublimeGit/SublimeGit/sgit/diff.py/GitDiffEventListener.on_activated/swapped operands of `in`