There seem to have been several rounds of trouble with Pkg calling git in OS X, and it may be that I've missed an existing unresolved issue here, and that I'm therefore reiterating known material. I also added an issue to the GitHub tracker (https://github.com/JuliaLang/julia/issues/6880) -- maybe I should have discussed it here first. Sorry.
But, yeah, the trouble is getting Pkg to work. For some reason, it *did* work at some point (a week ago?). I managed to install a couple of packages without a hitch. But then it stopped working, and I'm not sure what changed. I don't *think* I changed my environment variables or the installed version of Julia, but I'm not 100% sure. And, yes, I'm using MacPorts -- not sure if that's part of the issue. When I run `which git` in Julia, it reports the MacPorts one, with version number 1.8.5.5. But when I try to use it via Pkg, it fails. Now even init() fails (after removing the .julia directory): *julia> **Pkg.init()* *INFO: Initializing package repository /Users/mlh/.julia/v0.3* *INFO: Cloning METADATA from git://github.com/JuliaLang/METADATA.jl* usage: git index-pack [-v] [-o <index-file>] [--keep | --keep=<msg>] [--verify] [--strict] (<pack-file> | --stdin [--fix-thin] [<pack-file>]) fatal: index-pack failed *ERROR: failed process: Process(`git clone -q -b metadata-v2 git://github.com/JuliaLang/METADATA.jl METADATA`, ProcessExited(128)) [128]* * in pipeline_error at process.jl:489* * in run at process.jl:466* * in anonymous at pkg/dir.jl:43* * in cd at file.jl:20* * in init at pkg/dir.jl:41* * in init at pkg.jl:16* *julia> * Any suggestions for trouble-shooting?
