Hi, On Fri, 1 Jul 2016, Junio C Hamano wrote: > * jk/common-main-2.8 (2016-07-01) 5 commits > - 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() > (this branch is used by jk/common-main.) > > 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. To make it easier, I pushed my version of the patch series (including the one required to be able to build with DEVELOPER=1) as 'common-main-maint' to https://github.com/dscho/git. Ciao, Dscho -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html