On Thu, 4 Aug 2005, Johannes Schindelin wrote:
quoted
* 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*