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