3 #include "run-command.h"
5 int cmd__subprocess(int argc, const char **argv)
7 struct child_process cp = CHILD_PROCESS_INIT;
10 setup_git_directory_gently(&nogit);
12 die("No git repo found");
13 if (argc > 1 && !strcmp(argv[1], "--setup-work-tree")) {
18 cp.argv = (const char **)argv + 1;
19 return run_command(&cp);