2015-02-03 22:04 GMT+01:00 Christophe Demarey <christophe.demarey@inria.fr>:
Hi Thierry,
------------------------------
*De: *"Thierry Goubier" <thierry.goubier@gmail.com> *Ã: *"Pharo Development List" <pharo-dev@lists.pharo.org> *Envoyé: *Mardi 3 Février 2015 18:51:05 *Objet: *Re: [Pharo-dev] GitFileTree - Git command not found (is which shell startup script is run when pharo launched from UI)
Hi Christophe,
looks like that a configuration option for the path to the git command is necessary :) https://github.com/dalehenrich/filetree/issues/143
I'm planning a bit of a rewrite for GitFileTree (saw a few significant issues on Monticello to git integration pop-up recently) and I'll add that along with the others.
Thanks. By the way, for this specific case (run Pharo from UI), I still think it should be configurable with the OS (from some profile file) but I did not find a solution yet. Another option could be to retrieve the content of path variable with NativeBoost and use it to run the git command. I will test.
Ok, tell me how it goes. OSProcess/CommandShell has options and examples to retrieve and extend the path before calling an external function, so this may also be a way to solve it. A third one would be to download a git static executable along with the GitFileTree support. Thierry
Christophe.