| 275 | } |
| 276 | |
| 277 | char *git_shell_path(void) |
| 278 | { |
| 279 | #ifndef GIT_WINDOWS_NATIVE |
| 280 | return xstrdup(SHELL_PATH); |
| 281 | #else |
| 282 | char *p = locate_in_PATH("sh"); |
| 283 | convert_slashes(p); |
| 284 | return p; |
| 285 | #endif |
| 286 | } |
| 287 | |
| 288 | static const char **prepare_shell_cmd(struct strvec *out, const char **argv) |
| 289 | { |
no test coverage detected