Re: git init with template dir

2015-06-12 Thread Junio C Hamano
Alex Cornejo writes: > Junio C Hamano pobox.com> writes: > >> Hmmm, I do not seem to be able to do this, though. >> >> $ ln -s $HOME/g/share/git-core/templates /var/tmp/git-template >> $ cd /var/tmp >> $ git init --template=/var/tmp/git-template new >> $ find new

Re: git init with template dir

2015-06-12 Thread Alex Cornejo
Junio C Hamano pobox.com> writes: > Hmmm, I do not seem to be able to do this, though. > > $ ln -s $HOME/g/share/git-core/templates /var/tmp/git-template > $ cd /var/tmp > $ git init --template=/var/tmp/git-template new > $ find new/.git -type l > ... nothin

Re: git init with template dir

2015-06-12 Thread Junio C Hamano
Alex Cornejo writes: > I was surprised to see that when using git-init, if the template folder > is itself a symlink, then the contents of the template is NOT copied to > the resulting git repository, but instead each individual file is > symlinked. Hmmm, I do not seem to be able to do this, tho

git init with template dir

2015-06-12 Thread Alex Cornejo
I was surprised to see that when using git-init, if the template folder is itself a symlink, then the contents of the template is NOT copied to the resulting git repository, but instead each individual file is symlinked. For my particular use case, this is undesirable (since if I am not careful, t