* Re: git --version wrong
[not found] ` <4b308ad10912140852k15b5b815ge77c54525634d454@mail.gmail.com>
@ 2009-12-14 18:41 ` B Smith-Mannschott
0 siblings, 0 replies; 3+ messages in thread
From: B Smith-Mannschott @ 2009-12-14 18:41 UTC (permalink / raw)
To: Brad Hutchins; +Cc: git
> On Sun, Dec 13, 2009 at 10:17 PM, B Smith-Mannschott <bsmith.occs@gmail.com>
> wrote:
>>
>> On Sun, Dec 13, 2009 at 23:51, oshybrid <oshybrid@gmail.com> wrote:
>> >
>> > After i Instal 1.6.5.5 my "git --version" still shows 1.6.0.5
>> >
>>
>> How, exactly, did you install it?
>> What's the output when you type "which git" at the command line?
>>
>> // Ben
On Mon, Dec 14, 2009 at 17:52, Brad Hutchins <oshybrid@gmail.com> wrote:
> /opt/local/bin/git
Judging by the path, it looks like the git that is actually running on
your machine was installed through macports. Is that accurate? The
current version of git offered by macports, however, is 1.6.5.3
<http://trac.macports.org/browser/trunk/dports/devel/git-core/Portfile>
which is neither the version you are expecting, nor the version you
actually have installed.
Here's my guess, based on insufficient information:
(1) You have macports package manager installed.
(2) It's been a while since you've updated it, so...
(3) The git installed by macports is outdated (1.6.0.5)
(4) You tried to install git 1.6.5.5 via some other mechanism other
than macports. Maybe one of the stand-alone git installers floating
around. Maybe you built it from source. I can't tell, because you
haven't told me.
(5) Where ever that install placed your new git, it wasn't in /opt/local/bin
(6) Your PATH environment variable either does not contain the
directory where the newer git is installed or it contains it, but said
directory is after /opt/local/bin in PATH.
(type "echo $PATH" in the shell to see what's in PATH).
I'd look in /usr/local/bin and /usr/local/git/bin to see if you can't
find the newer git there.
Failing that, please come back with an answer to the question "How,
exactly, did you install it?" from my first reply and I'll see if I
can help you further.
// Ben
^ permalink raw reply [flat|nested] 3+ messages in thread