Thread (1 message) 1 message, 1 author, 2016-06-15

Re: git --version wrong

From: B Smith-Mannschott <hidden>
Date: 2016-06-15 22:47:54

On Sun, Dec 13, 2009 at 10:17 PM, B Smith-Mannschott [off-list ref]
wrote:
quoted
On Sun, Dec 13, 2009 at 23:51, oshybrid [off-list ref] wrote:
quoted
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 [off-list ref] 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help