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

Re: [PATCH 09/11] Provide API access to init_db()

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Mar 8, 2008, 23:27 UTC
Message-ID
<alpine.LSU.1.00.0803090026170.3975@racer.site>
In-Reply-To
<alpine.LNX.1.00.0803081804200.19665@iabervon.org>
Hi,
On Sat, 8 Mar 2008, Daniel Barkalow wrote:
> The caller first calls set_git_dir() to specify the GIT_DIR, and then 
> calls init_db() to initialize it. This also cleans up various parts of 
> the code to account for the fact that everything is done with GIT_DIR 
> set, so it's unnecessary to pass the specified directory around.

I think the most controversial part is that you change the way it is determined if the repository is a bare one. It might have the same result (I do not have time to check it...), but the computation is performed differently.

Ciao, Dscho

Previous: Daniel BarkalowNext: Daniel Barkalow
Message 2 of 4 in “Provide API access to init_db()”
  1. 09/11 Provide API access to init_db()Daniel Barkalow, Mar 8, 2008
  2. Johannes SchindelinMar 8, 2008
  3. Daniel BarkalowMar 8, 2008
  4. Johannes SchindelinMar 9, 2008

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.