* Error with Templates: Could not find templates on cloning but on creating
@ 2017-05-29 11:20 Mathias Artus
2017-05-29 21:05 ` Johannes Sixt
0 siblings, 1 reply; 3+ messages in thread
From: Mathias Artus @ 2017-05-29 11:20 UTC (permalink / raw)
To: git@vger.kernel.org
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
Kind regards
Mathias Artus
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Error with Templates: Could not find templates on cloning but on creating
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
2017-05-30 8:19 ` AW: " Mathias Artus
0 siblings, 1 reply; 3+ messages in thread
From: Johannes Sixt @ 2017-05-29 21:05 UTC (permalink / raw)
To: Mathias Artus; +Cc: git@vger.kernel.org
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* AW: Error with Templates: Could not find templates on cloning but on creating
2017-05-29 21:05 ` Johannes Sixt
@ 2017-05-30 8:19 ` Mathias Artus
0 siblings, 0 replies; 3+ messages in thread
From: Mathias Artus @ 2017-05-30 8:19 UTC (permalink / raw)
To: Johannes Sixt; +Cc: git@vger.kernel.org
Hi Hannes,
no i use the native installation with Mingw.
Greetz Mathias
Mit freundlichen Grüßen
Mathias Artus
pecont steuerungen / software GmbH / Kurt Franke Straße 1 / 99098 Erfurt/ Geschäftsführer: Volker Pennewitz, Ants Wiegand /
Tel.: +49 (172) 6948649 / Fax: +49 (36203) 719776 / HRB: 107443 / Jena
-----Ursprüngliche Nachricht-----
Von: Johannes Sixt [mailto:j6t@kdbg.org]
Gesendet: Montag, 29. Mai 2017 23:05
An: Mathias Artus <mathias.artus@pecont.de>
Cc: git@vger.kernel.org
Betreff: Re: Error with Templates: Could not find templates on cloning but on creating
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-05-30 8:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2017-05-30 8:19 ` AW: " Mathias Artus
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).