2 #include "run-command.h"
4 int main(int argc, char **argv)
6 struct child_process cp;
9 setup_git_directory_gently(&nogit);
11 die("No git repo found");
12 if (argc > 1 && !strcmp(argv[1], "--setup-work-tree")) {
16 memset(&cp, 0, sizeof(cp));
18 cp.argv = (const char **)argv + 1;
19 return run_command(&cp);