git
[Ported from github.com/git/git] Sync with Git 2.56.1
Brought by drakestapleton
git / common-main.c
| 1 | #include "git-compat-util.h" |
| 2 | #include "common-init.h" |
| 3 | |
| 4 | int 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 | } |