(repository_path: &str, args: &[String])
| 50 | } |
| 51 | |
| 52 | fn build_remote_git_command(repository_path: &str, args: &[String]) -> String { |
| 53 | let mut parts = vec![ |
| 54 | "git".to_string(), |
| 55 | "-C".to_string(), |
| 56 | shell_quote(repository_path), |
| 57 | "--no-pager".to_string(), |
| 58 | ]; |
| 59 | parts.extend(args.iter().map(|arg| shell_quote(arg))); |
| 60 | parts.join(" ") |
| 61 | } |
| 62 | |
| 63 | async fn execute_remote_git_command( |
| 64 | state: &AppState, |
no test coverage detected