@staticmethod
    def _create_git_command(command, ignore_exit_status=False):
        @suppress_action_result
        def run(self):
            with self.host.cd(self.repository_location):
                return self.host.run('git %s' % command, ignore_exit_status=ignore_exit_status)
        return run
dataset/ETHPy150Open jonathanslenders/python-deployer/deployer/contrib/nodes/git.py/GitBase._create_git_command/original