[fpc-other] GIT versioning server on Raspberry Pi?
Bo Berglund
bo.berglund at gmail.com
Wed May 31 22:23:30 CEST 2017
On Wed, 31 May 2017 15:42:48 -0400, wkitty42 at windstream.net wrote:
>On 05/31/2017 02:13 PM, Bo Berglund wrote:
>> the response to git --version is still
>> 2.1.4
>>
>> From where does this come???
>
>
>at the command line, type in "which git" without the double quotes...
$ which git
/home/pi/bin/git
This is the version I have built myself from sources and it is 2.13
I installed it into the user space rather than into /usr/bin/
However if I do:
$ git --version
git version 2.1.4
But if I do:
$ /home/pi/bin/git --version
git version 2.13.0.311.g0339965
Do you now understand my confusion?
Executing git on the command line seems to execute the /usr/bin/git
instead of the first git on PATH! /home/pi/bin is first on $PATH
Seems like git is started in /usr/bin and there it is getting the
erroneous version information....
Why?
--
Bo Berglund
Developer in Sweden
More information about the fpc-other
mailing list