MCPcopy Create free account
hub / github.com/git/git / print_tool_help

Function print_tool_help

builtin/difftool.c:65–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65static int print_tool_help(void)
66{
67 struct child_process cmd = CHILD_PROCESS_INIT;
68
69 cmd.git_cmd = 1;
70 strvec_pushl(&cmd.args, "mergetool", "--tool-help=diff", NULL);
71 return run_command(&cmd);
72}
73
74static int parse_index_info(struct repository *repo,
75 char *p, int *mode1, int *mode2,

Callers 1

cmd_difftoolFunction · 0.85

Calls 2

strvec_pushlFunction · 0.85
run_commandFunction · 0.85

Tested by

no test coverage detected