git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Problems with repack during push
@ 2012-09-10 16:16 Rob Marshall
  2012-09-10 16:26 ` Matthieu Moy
  0 siblings, 1 reply; 3+ messages in thread
From: Rob Marshall @ 2012-09-10 16:16 UTC (permalink / raw)
  To: git

Hi,

Whenever I do a git push origin of a new branch I see:

Auto packing the repository for optimum performance.
/usr/local/libexec/git-core/git-sh-setup: line 241: uname: command not found
/usr/local/libexec/git-core/git-repack: line 56: rm: command not found
/usr/local/libexec/git-core/git-repack: line 85: mkdir: command not found
/usr/local/libexec/git-core/git-repack: line 85: rm: command not found
fatal: 'repack' appears to be a git command, but we were not
able to execute it. Maybe git-repack is broken?
error: failed to run repack

If I do a 'git repack' it works fine, so are these
messages coming from the remote server?

Thanks,

Rob

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Problems with repack during push
  2012-09-10 16:16 Problems with repack during push Rob Marshall
@ 2012-09-10 16:26 ` Matthieu Moy
  2012-09-10 16:54   ` Rob Marshall
  0 siblings, 1 reply; 3+ messages in thread
From: Matthieu Moy @ 2012-09-10 16:26 UTC (permalink / raw)
  To: Rob Marshall; +Cc: git

Rob Marshall <Rob.Marshall17@gmail.com> writes:

> If I do a 'git repack' it works fine, so are these
> messages coming from the remote server?

I guess so, and your remote server has a restricted environment (chroot
or so) with very few commands allowed, which prevents shell-scripts from
executing properly.

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Problems with repack during push
  2012-09-10 16:26 ` Matthieu Moy
@ 2012-09-10 16:54   ` Rob Marshall
  0 siblings, 0 replies; 3+ messages in thread
From: Rob Marshall @ 2012-09-10 16:54 UTC (permalink / raw)
  To: Matthieu Moy; +Cc: git

OK, thanks. I'll check with the guy who set up the server.

Rob

On 9/10/12 12:26 PM, Matthieu Moy wrote:
> Rob Marshall <Rob.Marshall17@gmail.com> writes:
>
>> If I do a 'git repack' it works fine, so are these
>> messages coming from the remote server?
>
> I guess so, and your remote server has a restricted environment (chroot
> or so) with very few commands allowed, which prevents shell-scripts from
> executing properly.
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-09-10 17:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-10 16:16 Problems with repack during push Rob Marshall
2012-09-10 16:26 ` Matthieu Moy
2012-09-10 16:54   ` Rob Marshall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).