git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Problem with git shell on mac

From
Jay Soffian <jaysoffian@gmail.com>
Date
Feb 22, 2011, 22:34 UTC
Message-ID
<AANLkTikuYHY9a+PWp63fP_+Up1YaW5gTH2LiQq7kQV1V@mail.gmail.com>
In-Reply-To
<60BD7CF3-7781-4BEC-9545-8B653F62F32E@sis.si>
On Tue, Feb 22, 2011 at 9:39 AM, Luka Kac <luka.kac@sis.si> wrote:
Show 16 quoted lines
> 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.
Previous: Luka KacNext: Luka Kac
Message 2 of 3 in “Problem with git shell on mac”
  1. Luka KacFeb 22, 2011
  2. Jay SoffianFeb 22, 2011
  3. Luka KacFeb 23, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.