| 41 | } |
| 42 | |
| 43 | static bool git_validate_repo_path(const char *repo_path) { |
| 44 | return cbm_validate_shell_path_arg(repo_path); |
| 45 | } |
| 46 | |
| 47 | /* Run `git -C repo_path git_args` and copy the first output line (newlines |
| 48 | * trimmed) into buf. Returns 0 only when git exited 0 with a non-empty line. */ |
no test coverage detected