Re: git --version wrong

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> On Sun, Dec 13, 2009 at 10:17 PM, B Smith-Mannschott <bsmith.occs@xxxxxxxxx>
> wrote:
>>
>> On Sun, Dec 13, 2009 at 23:51, oshybrid <oshybrid@xxxxxxxxx> 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@xxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]