From: Eric Wong Date: Thu, 24 Nov 2005 08:50:21 GMT Subject: Re: [PATCH 4/9] remove git wrapper dependency Message-ID: <20051124085020.GK4789@mail.yhbt.net> In-Reply-To: <7voe4awii5.fsf@assigned-by-dhcp.cox.net> Junio C Hamano wrote: > Andreas Ericsson writes: > > > Eric Wong wrote: > >> use git-diff-files instead of git diff-files so we don't rely on the > >> wrapper being installed (some people may have git as GNU interactive > >> tools :) > >> > > > > This one should do > > git --exec-path > > > > first to get the proper path to git-diff-files. Fall back to it being in > > the path if finding out fails. > > Eric is worried about the case where git on your PATH is GNU > interactive tools, so "git --exec-path" would not give you what > you want ;-). Right on. I'm actually not a GNU interactive tools user, but I do have empathy for them being a cg (cgvg) user myself for many, many years. -- Eric Wong