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.

Thierry

2015-02-03 16:08 GMT+01:00 Christophe Demarey <Christophe.Demarey@inria.fr>:
Hi,

I wanted to give a try to gitfiletree but I got a 'Git command not found'.
Indeed, the git command is not in the path Here is the code used by GitFileTree to run a git command:

� � � � | c output |
� � � � [
� � � � c := PipeableOSProcess
� � � � � � � � command: 'export'.
� � � � output := ReadStream on: c output.
� � � � c succeeded
� � � � � � � � ifFalse: [ self error: 'Git error: ' , c errorPipelineContents ] ]
� � � � � � � � ensure: [ c closePipes ].
� � � � output

I replaced the command to execute by 'export' to get all environment variables. I noticed that '/usr/local/bin' is not in the path (used by brew).


To get my full environment (.profile executed), I need to run pharo from a shell with the same environment. The question is: how to run Pharo from the UI and get this environment?
I tried with a .bashrc, bash_profile without success.
Any idea?

Thanks,
Christophe.