From: Alex Cornejo <acornejo@gmail.com>
To: git@vger.kernel.org
Subject: Re: git init with template dir
Date: Fri, 12 Jun 2015 15:59:51 +0000 (UTC) [thread overview]
Message-ID: <loom.20150612T175402-182@post.gmane.org> (raw)
In-Reply-To: xmqqioatdk0z.fsf@gitster.dls.corp.google.com
Junio C Hamano <gitster <at> 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
> ... nothing ...
Thanks for your prompt response Juno.
That make sense. The fact that you were unable to reproduce this tells
me that there is probably something fishy/unexpected with the
environment in which I tried this (which is not too surprising, given
that I was doing it inside a linux container, inside a virtual machine,
where both of these were setup using a scripts which ultimately failed
after the git init step, due to the symlink behavior I described, but
most likely this is my own fault). I should have tried to reproduce this
on a clean slate before posting this question.
Thanks again,
Alex
next prev parent reply other threads:[~2015-06-12 16:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-12 7:09 git init with template dir Alex Cornejo
2015-06-12 15:27 ` Junio C Hamano
2015-06-12 15:59 ` Alex Cornejo [this message]
2015-06-12 16:13 ` Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=loom.20150612T175402-182@post.gmane.org \
--to=acornejo@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.