(shadow_path: &str)
| 398 | } |
| 399 | |
| 400 | fn configure_git(shadow_path: &str) -> Result<()> { |
| 401 | run_git(Path::new(shadow_path), None, &["config", "user.name", "Q"])?; |
| 402 | run_git(Path::new(shadow_path), None, &["config", "user.email", "qcli@local"])?; |
| 403 | run_git(Path::new(shadow_path), None, &["config", "core.preloadindex", "true"])?; |
| 404 | Ok(()) |
| 405 | } |
| 406 | |
| 407 | fn stage_commit_tag(shadow_path: &str, work_tree: &Path, message: &str, tag: &str) -> Result<()> { |
| 408 | // Stage all changes |