

def run_command(self, command, callback=None, show_status=True, filter_empty_args=True, no_save=False, **kwargs):
    if filter_empty_args:
        command = [arg for arg in command if arg]
    if ('working_dir' not in kwargs):
        kwargs['working_dir'] = self.get_working_dir()
    if (('fallback_encoding' not in kwargs) and self.active_view() and self.active_view().settings().get('fallback_encoding')):
        kwargs['fallback_encoding'] = self.active_view().settings().get('fallback_encoding').rpartition('(')[2].rpartition(')')[0]
    s = sublime.load_settings('Git.sublime-settings')
    if (s.get('save_first') and self.active_view() and self.active_view().is_dirty() and (not no_save)):
        self.active_view().run_command('save')
    if (command[0] == 'git'):
        if s.get('git_command'):
            command[0] = kwargs.get('git_command')
        elif GIT:
            command[0] = GIT
    if ((command[0] == 'git-flow') and s.get('git_flow_command')):
        command[0] = s.get('git_flow_command')
    if (not callback):
        callback = self.generic_done
    thread = CommandThread(command, callback, **kwargs)
    thread.start()
    if show_status:
        message = (kwargs.get('status_message', False) or ' '.join(command))
        sublime.status_message(message)

dataset/ETHPy150Open JT5D/Alfred-Popclip-Sublime/Sublime Text 2/sublime-github/lib/git.py GitCommand.run_command/VarMisuse@222/300 `s`->`kwargs`