Re: git --exec-path conversion
From: Marco Costalba <hidden>
Date: 2016-06-15 22:42:12
Johannes Schindelin wrote:
Hi, On Sat, 19 Nov 2005, Marco Costalba wrote:quoted
if (cmd.left(3) == "git") cmd = cmd.prepend(exec-path);Little nit: Test for "git-", because "git" and "gitk" will stay in the PATH.
You are rights. Thanks.
Also 'exec-path' is not a valid C++ identifier, it should be
if (cmd.left(4) == "git-")
cmd = cmd.prepend(exec_path);
Incredible how many errors in only two lines of code :-)
Marco
__________________________________
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com