Hi,

On Mon, 7 Jul 2008, Johannes Sixt wrote:

> On Montag, 7. Juli 2008, Johannes Schindelin wrote:
> > On Mon, 7 Jul 2008, Johannes Sixt wrote:
> > > Since the 'dash-less' changes are now in upstream, mingw.git does 
> > > not work anymore out of the box. The reason is that I introduced a 
> > > function builtin_exec_path() that computes the path from the program 
> > > invocation and ignores the predefined GIT_EXEC_PATH (which is the 
> > > value of $(gitexecdir) int the Makefile).
> >
> > What prevents you from stripping "/bin/<basename>.exe" or 
> > "/libexec/git-core/<basename>.exe", whichever was found, from the 
> > path?
> 
> And use the result as the base to look for templates and ETC_GITCONFIG? 
> What if neither matches?

Well, what do you do at the moment?  Let's use that as a fallback, no?  (I 
assume that you just strip the last path element.)

Ciao,
Dscho

Reply via email to