git --version wrong
After i Instal 1.6.5.5 my "git --version" still shows 1.6.0.5
Snow Leopard
Model Name: MacBook Pro
Model Identifier: MacBookPro1,1
Processor Name: Intel Core Duo
Processor Speed: 2.16 GHz
Number Of Processors: 1
Total Number Of Cores: 2
L2 Cache: 2 MB
Memory: 2 GB
Bus Speed: 667 MHz
Boot ROM Version: MBP11.0055.B08
SMC Version (system): 1.2f10
Serial Number (system): W86162J5VWX
Hardware UUID: 00000000-0000-1000-8000-0016CB94B85F
Sudden Motion Sensor:
State: Enabled
Signature · 2 lines
View this message in context: http://old.nabble.com/git---version-wrong-tp26770625p26770625.html Sent from the git mailing list archive at Nabble.com.
Quoted 3 lines · oshybrid
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
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 12 lines
Quoted 10 lines · B Smith-Mannschott
Quoted 3 lines · oshybrid
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
Quoted 1 line · Brad Hutchins
/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