Revision faacc8efe503a470c0c549c7949824728d7f1461 authored by Junio C Hamano on 09 September 2016, 04:35:50 UTC, committed by Junio C Hamano on 09 September 2016, 04:35:51 UTC
There are certain house-keeping tasks that need to be performed at the very beginning of any Git program, and programs that are not built-in commands had to do them exactly the same way as "git" potty does. It was easy to make mistakes in one-off standalone programs (like test helpers). A common "main()" function that calls cmd_main() of individual program has been introduced to make it harder to make mistakes. * jk/common-main: mingw: declare main()'s argv as const common-main: call git_setup_gettext() common-main: call restore_sigpipe_to_default() common-main: call sanitize_stdfds() common-main: call git_extract_argv0_path() add an extra level of indirection to main()
File | Mode | Size |
---|---|---|
.gitignore | -rw-r--r-- | 7 bytes |
README | -rw-r--r-- | 10.6 KB |
TEAMS | -rw-r--r-- | 2.0 KB |
bg.po | -rw-r--r-- | 478.2 KB |
ca.po | -rw-r--r-- | 348.0 KB |
de.po | -rw-r--r-- | 391.8 KB |
fr.po | -rw-r--r-- | 386.3 KB |
git.pot | -rw-r--r-- | 237.1 KB |
is.po | -rw-r--r-- | 3.1 KB |
it.po | -rw-r--r-- | 128.2 KB |
ko.po | -rw-r--r-- | 382.7 KB |
pt_PT.po | -rw-r--r-- | 367.4 KB |
ru.po | -rw-r--r-- | 452.8 KB |
sv.po | -rw-r--r-- | 373.9 KB |
vi.po | -rw-r--r-- | 414.5 KB |
zh_CN.po | -rw-r--r-- | 347.3 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...