Skip to main content

git_run_in_dir

Function git_run_in_dir 

Source
pub fn git_run_in_dir(dir: &str, args: &[&str], verbose: bool) -> Result<()>
Expand description

Execute a git command in a specific directory. Sets the process working directory (not just git -C) so it works even if the caller’s cwd has been deleted.