# Re: GIT on MinGW problem

5 messages from 2007-05-12 to 2007-05-26. Participants: Aaron Gray, Han-Wen Nienhuys, Johannes Sixt, Nguyen Thai Ngoc Duy.
Thread: https://gitlist.dev/t/8108

## Aaron Gray, 2007-05-12 14:20

Subject: Re: GIT on MinGW problem
Message-ID: <1e5001c794a0$aac23140$0200a8c0@AMD2500>
URL: https://gitlist.dev/e/1e5001c794a0%24aac23140%240200a8c0%40AMD2500

```
>This should be fixed in
>
>http://lilypond.org/git/binaries/mingw/git-1.5.1-2.mingw.exe

Great.

I could not get commands like git-clone to work from CMD although this is 
not really a handycap for the time being.

On doing a clone I get the message :-

        warning: templates not found /usr/share/git-core/templates/

Aaron 

```

## Han-Wen Nienhuys, 2007-05-15 19:51

Subject: Re: GIT on MinGW problem
Message-ID: <f329bf540705151251n10c05452s5a74e8eaa513bf90@mail.gmail.com>
URL: https://gitlist.dev/e/f329bf540705151251n10c05452s5a74e8eaa513bf90%40mail.gmail.com
In-Reply-To: <033501c79710$a2eb0290$0200a8c0@AMD2500>

```
I think it might be a bug. Patches are welcome.

I suppose git-clone has a hardcoded path. Paths under windows should
be either taken from registry (yuck) or dynamically detected from
$PATH and argv[0].

2007/5/15, Aaron Gray <angray@beeb.net>:
> Han-Wen,
>
> Dont know whether you got the message or not so I'll try you again.
>
> On doing a git-clone I get the message :-
>
>         warning: templates not found /usr/share/git-core/templates/
>
> Regards,
>
> Aaron
>
> > >This should be fixed in
> >>
> >>http://lilypond.org/git/binaries/mingw/git-1.5.1-2.mingw.exe
> >
> > Great.
> >
> > I could not get commands like git-clone to work from CMD although this is
> > not really a handycap for the time being.
> >
> > On doing a clone I get the message :-
> >
> >        warning: templates not found /usr/share/git-core/templates/
>
>


-- 
Han-Wen Nienhuys - hanwen@xs4all.nl - http://www.xs4all.nl/~hanwen

```

## Johannes Sixt, 2007-05-16 08:02

Subject: Re: GIT on MinGW problem
Message-ID: <464ABAAF.C6603C5@eudaptics.com>
URL: https://gitlist.dev/e/464ABAAF.C6603C5%40eudaptics.com
In-Reply-To: <f329bf540705151251n10c05452s5a74e8eaa513bf90@mail.gmail.com>

```
Han-Wen Nienhuys wrote:
> 
> I think it might be a bug. Patches are welcome.
> 
> I suppose git-clone has a hardcoded path. Paths under windows should
> be either taken from registry (yuck) or dynamically detected from
> $PATH and argv[0].
> 
> 2007/5/15, Aaron Gray <angray@beeb.net>:
> > Han-Wen,
> >
> > Dont know whether you got the message or not so I'll try you again.
> >
> > On doing a git-clone I get the message :-
> >
> >         warning: templates not found /usr/share/git-core/templates/
> >

This should have been fixed by 2d84ffaf (currently master~1 in
git://repo.or.cz/git/mingw.git) and its parent. Can you make sure that
your build picks up the new Makefile setting that these commits
introduce?

-- Hannes

```

## Nguyen Thai Ngoc Duy, 2007-05-21 18:22

Subject: Re: GIT on MinGW problem
Message-ID: <fcaeb9bf0705211122sef3abf6sb3633f09228a7e7d@mail.gmail.com>
URL: https://gitlist.dev/e/fcaeb9bf0705211122sef3abf6sb3633f09228a7e7d%40mail.gmail.com
In-Reply-To: <464ABAAF.C6603C5@eudaptics.com>

```
On 5/16/07, Johannes Sixt <J.Sixt@eudaptics.com> wrote:
> Han-Wen Nienhuys wrote:
> >
> > I think it might be a bug. Patches are welcome.
> >
> > I suppose git-clone has a hardcoded path. Paths under windows should
> > be either taken from registry (yuck) or dynamically detected from
> > $PATH and argv[0].
> >
> > 2007/5/15, Aaron Gray <angray@beeb.net>:
> > > Han-Wen,
> > >
> > > Dont know whether you got the message or not so I'll try you again.
> > >
> > > On doing a git-clone I get the message :-
> > >
> > >         warning: templates not found /usr/share/git-core/templates/
> > >
>
> This should have been fixed by 2d84ffaf (currently master~1 in
> git://repo.or.cz/git/mingw.git) and its parent. Can you make sure that
> your build picks up the new Makefile setting that these commits
> introduce?

That commit didn't work for me because template_dir was overridden by
config.mak.autogen
-- 
Duy

```

## Han-Wen Nienhuys, 2007-05-26 23:08

Subject: Re: GIT on MinGW problem
Message-ID: <4658BDD4.6070904@xs4all.nl>
URL: https://gitlist.dev/e/4658BDD4.6070904%40xs4all.nl
In-Reply-To: <fcaeb9bf0705211122sef3abf6sb3633f09228a7e7d@mail.gmail.com>

```
Nguyen Thai Ngoc Duy escreveu:
>> > >         warning: templates not found /usr/share/git-core/templates/
>> > >
>>
>> This should have been fixed by 2d84ffaf (currently master~1 in
>> git://repo.or.cz/git/mingw.git) and its parent. Can you make sure that
>> your build picks up the new Makefile setting that these commits
>> introduce?
> 
> That commit didn't work for me because template_dir was overridden by
> config.mak.autogen

thanks for noticing this. I'm building a -2 release which should fix this.


-- 
 Han-Wen Nienhuys - hanwen@xs4all.nl - http://www.xs4all.nl/~hanwen

```
