git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: What's cooking in git.git (Jul 2016, #01; Fri, 1)

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jul 2, 2016, 07:59 UTC
Message-ID
<alpine.DEB.2.20.1607020958210.12947@virtualbox>
In-Reply-To
<xmqqmvm0vry4.fsf@gitster.mtv.corp.google.com>
Hi,
On Fri, 1 Jul 2016, Junio C Hamano wrote:
Show 15 quoted lines
> * 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

Previous: Junio C HamanoNext: Johannes Schindelin
Message 2 of 5 in “What's cooking in git.git (Jul 2016, #01; Fri, 1)”
  1. Junio C HamanoJul 1, 2016
  2. Johannes SchindelinJul 2, 2016
  3. Johannes SchindelinJul 2, 2016
  4. Junio C HamanoJul 6, 2016
  5. Johannes SchindelinJul 6, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.