I bought a new MacBook Pro and installed the list of applications below in order. On my old MacBook, also running OS X 10.6.6, I did not have /usr/bin/git , however, on the new MacBook Pro, I do this. The only differences I can imagine between the two systems are:
- New MacBook Pro has Xcode 4 and Xcode 3 on an old MacBook
- New MacBook Pro installed git with homebrew versus installed MacBook [git -osx-installer] []
homebrew installed git 1.7.4.1 in /usr/local/Cellar/git and is symbolically attached to /usr/local/bin . This makes me think that Xcode 4 installed git 1.7.3.4 in /usr/bin . Can anyone confirm or deny this?
If Xcode 4 did not install git 1.7.3.4 in /usr/bin , any thoughts on what the program did?
Applications installed in order
- First boot
- Apple Ran Software Update
- Ran Bootcamp to create a 48GB NTFS partition for Windows 7
- Installed iWork '09 and launched a software update to install iWork Update 5
- Installed TextExpander 3.2.4
- Installed Dropbox 1.0.20
- Installed 1Password 3.5.9
- Installed Alfred 0.8.2 (107)
- Installed Adium 1.4.1
- Started installing Xcode4 through the App Store
- Installed Caffeine 1.1.1 through the App Store
- Installed Kindle via the App Store
- Xcode 4 Installation Complete on the App Store
- Installed by Homebrew using the following command:
ruby -e "$(curl -fsSLk https://gist.github.com/raw/323731/install _homebrew.rb)" - Installed git with
brew install git - Installed MacVim with
brew install macvim
Update: package receipt information
I ran pkgutil --file-info /usr/bin/git and the following information was displayed. This seems to contradict Xcode 4.
volume: / path: /usr/bin/git pkgid: com.apple.pkg.GitLeo pkg-version: 4.0.0.9000000000.1.1248867338 install-time: 1300459157 uid: 0 gid: 0 mode: 755
Why is this a problem when Xcode 4 installs git
By default, the path /usr/local/bin is after /usr/bin (see the file /etc/paths ). This means that instead of 1.7.4.1, git 1.7.3.4, which is installed by Homebrew, is used.
git xcode xcode4 macos
Matthew Rankin Mar 19 '11 at 19:22 2011-03-19 19:22
source share