pub fn script_runner(
local_tree: &dyn WorkingTree,
script: &[&str],
subpath: &Path,
commit_pending: CommitPending,
resume_metadata: Option<&Value>,
committer: Option<&str>,
extra_env: Option<HashMap<String, String>>,
stderr: Stdio,
) -> Result<CommandResult, Error>Expand description
Run a script in a tree and commit the result.
This ignores newly added files.
ยงArguments
local_tree: Local tree to run script insubpath: Subpath to run script inscript: Script to runcommit_pending: Whether to commit pending changes