From: Johannes Sixt <j6t@kdbg.org>
To: Mathias Artus <mathias.artus@pecont.de>
Cc: "git@vger.kernel.org" <git@vger.kernel.org>
Subject: Re: Error with Templates: Could not find templates on cloning but on creating
Date: Mon, 29 May 2017 23:05:27 +0200 [thread overview]
Message-ID: <fa99116f-ce82-f7c6-30ed-807c873c3634@kdbg.org> (raw)
In-Reply-To: <201705291120.v4TBKfkV082879@mikako.shopkeeper.de>
Am 29.05.2017 um 13:20 schrieb Mathias Artus:
> Hi,
> Today i've tried to set up a template directory. I added in the system wide gitconfig the following lines:
>
> [init]
> templatedir = "//OurServer/SomeDirectory/GitTemplate"
>
> Where //Ourserver is a Network Path.
> With this line i can create a new Repository and the template gets copied. But when i clone a repo the following error shows up and the template doesn't get copied:
> templates not found /OurServer/SomeDirectory/GitTemplate
>
> I Recognized that one slash was missing. Hence i added one:
> [init]
> templatedir = "///OurServer/SomeDirectory/GitTemplate"
>
> Fine, cloning works after that, but creating a new repository then shows up a Warning:
> templates not found ///OurServer/SomeDirectory/GitTemplate
>
> Is that a known bug or is it my Failure?
>
> I use git 2.13 on windows 7
I cannot reproduce. I'm on Windows 8.1, but I wouldn't expect that to
make a difference. Are you using Cygwin's git by any chance?
-- Hannes
next prev parent reply other threads:[~2017-05-29 21:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-29 11:20 Error with Templates: Could not find templates on cloning but on creating Mathias Artus
2017-05-29 21:05 ` Johannes Sixt [this message]
2017-05-30 8:19 ` AW: " Mathias Artus
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
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=fa99116f-ce82-f7c6-30ed-807c873c3634@kdbg.org \
--to=j6t@kdbg.org \
--cc=git@vger.kernel.org \
--cc=mathias.artus@pecont.de \
/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.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).