Re: Problem with git shell on mac

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Feb 22, 2011 at 9:39 AM, Luka Kac <luka.kac@xxxxxx> wrote:
> Hi guys.
>
> I have a problem with git on a Mac os server.
> a program is trying to run git shell with this command :
>
> git shell -c git-upload-pack '/path/to/repo.git'
>
> the process dies on an assert in exec_cmd.c :
>
> Assertion failed: (argv0_path), function system_path, file exec_cmd.c, line 27.
> error: git-shell died of signal 6
>
>
> what could be wrong ? is the argv0_path path to the git-upload-pack executable ? I'm pretty sure that it is in path because ssh git@server \echo $PATH contains the path to git.
>
> What else should I do ?

Your binary appears to have been compiled with RUNTIME_PREFIX set.
This is (AFAIK) only enabled by default under Cygwin/MinGW. In any
case, I believe it requires that you invoke git using an absolute
path.

Try /path/to/git shell  ...

j.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]