1
0
mirror of https://github.com/git/git.git synced 2025-03-26 05:44:44 +00:00
Junio C Hamano d4c6375fd8 Merge branch '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.

* 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()
2016-07-19 13:22:19 -07:00
..
2016-01-04 09:51:33 -08:00
2009-03-02 18:28:06 -08:00
2016-07-19 13:22:19 -07:00
2010-11-23 16:06:50 -08:00
2013-09-11 11:08:52 -07:00
2011-09-11 14:43:33 -07:00
2013-04-12 12:23:20 -07:00