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

Function main

common-main.c:4–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2#include "common-init.h"
3
4int main(int argc, const char **argv)
5{
6 int result;
7
8 init_git(argv);
9 result = cmd_main(argc, argv);
10
11 /* Not exit(3), but a wrapper calling our common_exit() */
12 exit(result);
13}

Callers

nothing calls this directly

Calls 2

init_gitFunction · 0.85
cmd_mainFunction · 0.70

Tested by

no test coverage detected