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

Re: [PATCH] Use the template mechanism to set up refs/ hierarchy as well.

From
barkalow@iabervon.org <barkalow@iabervon.org>
Date
Aug 4, 2005, 22:08 UTC
Message-ID
<Pine.LNX.4.62.0508041804120.23721@iabervon.org>
In-Reply-To
<Pine.LNX.4.63.0508042215430.24657@wgmdd8.biozentrum.uni-wuerzburg.de>
On Thu, 4 Aug 2005, Johannes Schindelin wrote:
Show 8 quoted lines
> > * Make git-init-db create an absolute minimum $GIT_DIR
> > structure itself, if the template directory is not available,
> > possibly with a warning.
> 
> This would be exactly what I'd like. Let git-init-db create
> .git/objects/[0-9a-f]{2}/, .git/refs/heads/, .git/refs/tags and .git/HEAD.
> Everything else is taken from the templates directory, if that exists. I would
> not warn if it does not.

Are .git/refs/heads and .git/refs/tags still needed? I seem to recall a patch to create subdirectories of .git/refs on demand (needed for tags/v99/1). I'd say just .git/objects/(everything), .git/refs, and .git/info.

(Plus template, if available, of course)
	-Daniel
*This .sig left intentionally blank*
Previous: Johannes SchindelinNext: Junio C Hamano
Message 9 of 10 in “Use the template mechanism to set up refs/ hierarchy as well.”
  1. Use the template mechanism to set up refs/ hierarchy as well.Junio C Hamano, Aug 3, 2005
  2. Johannes SchindelinAug 4, 2005
  3. Junio C HamanoAug 4, 2005
  4. Johannes SchindelinAug 4, 2005
  5. Junio C HamanoAug 4, 2005
  6. Johannes SchindelinAug 4, 2005
  7. Junio C HamanoAug 4, 2005
  8. Johannes SchindelinAug 5, 2005
  9. barkalow@iabervon.orgAug 4, 2005
  10. Junio C HamanoAug 5, 2005

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.