Thread (4 messages) flat view 4 messages, 3 authors, 2016-06-15

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

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:42:03

Hi,

On Thu, 4 Aug 2005, Junio C Hamano wrote:
Johannes Schindelin [off-list ref] writes:
quoted
quoted
This may be controversial from the robustness standpoint, so I
am placing it in the proposed update queue first.  Discussions
on the list very welcomed.
I'd vote against it: As of now, I can perfectly do

export PATH=$PATH:/whereever/my/git/is
git-init-db

which would not work with this patch.
I take it to mean that you do not mind building but would want
to try it out before installing.
I'd like to not being forced to install git. Scenario: I have an SSH 
account on a remote machine. I am not root there, but I'd like to 
synchronize my work with git. I can not install git.
* 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.

Ciao,
Dscho
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help