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*