From: Junio C Hamano Date: Tue, 19 Dec 2017 16:33:22 GMT Subject: Re: difftool uses hardcoded perl shebang Message-ID: In-Reply-To: <20171219162528.GA5804@sigill.intra.peff.net> Jeff King writes: > This is a build-time knob. When you build git, try: > > make PERL_PATH='/usr/bin/env perl' > > (If you don't build your own git, then you might raise the issue with > whomever packages your binary). I somehow thought ANYTHING_PATH was meant to point at the exact path (as opposed to ANYTHING_COMMAND which is a command line), so it is within our rights to do test -x "$GIT_EXEC_PATH" || die "Your Git installation is broken" but your suggestion above makes such a sanity check impossible. I'd understand if it were make PERL_PATH=$(type --path perl) of course, though. > As an aside, git-difftool is now a C builtin these days, so the problem > might also go away if you upgrade. ;) Yup, true, true.