From: Junio C Hamano Date: Thu, 24 Nov 2005 08:35:30 GMT Subject: Re: [PATCH 4/9] remove git wrapper dependency Message-ID: <7voe4awii5.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <438577E0.30109@op5.se> 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 ;-).