threads / discuss / 8108

Re: GIT on MinGW problem

Subject: Re: GIT on MinGW problem

## tl;dr

5 messages between May 12, 2007 and May 26, 2007.

replies: 4people: 5as markdown or json

Aaron Gray· May 12, 2007, 14:20 UTC · lore
>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· May 15, 2007, 19:51 UTC · lore
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>:
Show 26 quoted lines
> 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· May 16, 2007, 08:02 UTC · re: Han-Wen Nienhuys · lore
Han-Wen Nienhuys wrote:
Show 16 quoted lines
> 
> 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· May 21, 2007, 18:22 UTC · re: Johannes Sixt · lore
On 5/16/07, Johannes Sixt <J.Sixt@eudaptics.com> wrote:
Show 22 quoted lines
> 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· May 26, 2007, 23:08 UTC · re: Nguyen Thai Ngoc Duy · lore
Nguyen Thai Ngoc Duy escreveu:
Show 10 quoted lines
>> > >         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

← back to recent threads