repo.or.cz
/
git
/
gitster.git
/
blob
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
The sixteenth batch
[git/gitster.git]
/
common-main.c
blob
6b7ab077b0ab8553a1c06671e71d8c6c493f8115
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
}