def run(self, args, env = {}): """Run the given command with an environment given by self.env. @type args: list of strings @param args: Command and argument vector @type env: dict @param env: Extra environment""" return run.Run(*args).env(utils.add_dict(self.env, env))
def run(self, args, env={}): """Run the given command with an environment given by self.env. @type args: list of strings @param args: Command and argument vector @type env: dict @param env: Extra environment""" return Run(*args).env(utils.add_dict(self.env, env))
def run(self, args, env=()): return Run(*args).env(add_dict(self.env, env))
def env(self): return add_dict(self._repository.env, {'GIT_INDEX_FILE': self._filename})
def run_in_cwd(self, args): return Run(*args).env(add_dict(self.env, self.env_in_cwd))
def env(self): return add_dict(self.index.env, self._worktree.env)
def env(self): return utils.add_dict(self.__index.env, self.__worktree.env)
def env(self): return utils.add_dict(self.__repository.env, {'GIT_INDEX_FILE': self.__filename})
def env(self): return add_dict(self._repository.env, {'GIT_INDEX_FILE': self._path})
def run(self, args, env=()): return Run(*args).env(add_dict(self.env, env)).cwd(self._worktree.directory)