Problems with repack during push
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
Quoted 2 lines · Rob Marshall
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.
Signature · 2 lines
Matthieu Moy http://www-verimag.imag.fr/~moy/
OK, thanks. I'll check with the guy who set up the server.
Rob
Quoted 9 lines · Matthieu Moy
Quoted 2 lines · Rob Marshall
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.