This page is no longer maintained — Please continue to the home page at www.scala-lang.org

[Completely OT, sorry, there is a relation]

2 replies
Kenneth McDonald
Joined: 2009-01-11,
User offline. Last seen 42 years 45 weeks ago.

Hi, sorry if this is bothering your inbox with even more clutter. This is all part of my attempt to get git to do the proper things in uploading my docs to github as part of my scala project. Things are not going winningly so far.

I deleted an old version of git (which worked), and using the nice OS X git installer, installed a new version of git, at /usr/local/git. Unfortunately, OS X thinks this is a directory (which it is), but can't figure out that (I assume) it should be a bundle, and hence treated as a binary. So now I have no git on my system.

Any easy answers?

Thanks,
Ken

De Gao
Joined: 2009-08-10,
User offline. Last seen 42 years 45 weeks ago.
Re: [Completely OT, sorry, there is a relation]

On 07/11/2010 23:18, Kenneth McDonald wrote:
> Hi, sorry if this is bothering your inbox with even more clutter. This is all part of my attempt to get git to do the proper things in uploading my docs to github as part of my scala project. Things are not going winningly so far.
>
> I deleted an old version of git (which worked), and using the nice OS X git installer, installed a new version of git, at /usr/local/git. Unfortunately, OS X thinks this is a directory (which it is), but can't figure out that (I assume) it should be a bundle, and hence treated as a binary. So now I have no git on my system.
>
> Any easy answers?
>
> Thanks,
> Ken
>
This should be the best place to discuss about this:
http://discussions.apple.com/index.jspa

Randall R Schulz
Joined: 2008-12-16,
User offline. Last seen 1 year 29 weeks ago.
Re: [Completely OT, sorry, there is a relation]

On Sunday November 7 2010, Kenneth McDonald wrote:
> Hi, sorry if this is bothering your inbox with even more clutter.
> This is all part of my attempt to get git to do the proper things in
> uploading my docs to github as part of my scala project. Things are
> not going winningly so far.
>
> I deleted an old version of git (which worked), and using the nice OS
> X git installer, installed a new version of git, at /usr/local/git.
> Unfortunately, OS X thinks this is a directory (which it is), but
> can't figure out that (I assume) it should be a bundle, and hence
> treated as a binary. So now I have no git on my system.

I have the same setup. I simply put a symlink to the git executable
in /usr/local/bin and I have /usr/local/bin in my PATH. I'm not sure
that's an application bundle directory, but either way, it's not
necessary that it be seen as one. Just find a way to make the "git"
command in your shell invoke /usr/local/git/bin/git, whether that's via
symlinks, PATH alterations, an alias, shell procedure or cover script
in a place already in your PATH (or some combination thereof) does not
matter.

It appears MacPorts has also installed a copy of git
in /opt/local/bin/git. I only noticed that just now when checking
before answering.

> Any easy answers?

Take control of your Mac!

> Thanks,
> Ken

Randall Schulz

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland