{"thread":{"id":"31491","subject":"Problems with repack during push","startedAt":"2012-09-10T16:16:22Z","lastAt":"2012-09-10T16:54:44Z","messageCount":3,"participants":["Rob Marshall","Matthieu Moy"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"198685","messageId":"504E1256.4020605@gmail.com","threadId":"31491","inReplyTo":null,"subject":"Problems with repack during push","fromName":"Rob Marshall","fromEmail":"rob.marshall17@gmail.com","sentAt":"2012-09-10T16:16:22Z","receivedAt":"2012-09-10T16:16:22Z","isPatch":false,"sender":{"key":"rob.marshall17@gmail.com","avatar":null},"body":"Hi,\n\nWhenever I do a git push origin of a new branch I see:\n\nAuto packing the repository for optimum performance.\n/usr/local/libexec/git-core/git-sh-setup: line 241: uname: command not found\n/usr/local/libexec/git-core/git-repack: line 56: rm: command not found\n/usr/local/libexec/git-core/git-repack: line 85: mkdir: command not found\n/usr/local/libexec/git-core/git-repack: line 85: rm: command not found\nfatal: 'repack' appears to be a git command, but we were not\nable to execute it. Maybe git-repack is broken?\nerror: failed to run repack\n\nIf I do a 'git repack' it works fine, so are these\nmessages coming from the remote server?\n\nThanks,\n\nRob\n"},{"id":"198688","messageId":"vpqfw6pj13t.fsf@bauges.imag.fr","threadId":"31491","inReplyTo":"504E1256.4020605@gmail.com","subject":"Re: Problems with repack during push","fromName":"Matthieu Moy","fromEmail":"matthieu.moy@grenoble-inp.fr","sentAt":"2012-09-10T16:26:14Z","receivedAt":"2012-09-10T16:26:14Z","isPatch":false,"sender":{"key":"matthieu.moy@grenoble-inp.fr","avatar":"https://gravatar.com/avatar/72c8a2705971a25dfaff23cece15130d405685845d911aedd5667ace277f3fc5?d=mp&s=160"},"body":"Rob Marshall <Rob.Marshall17@gmail.com> writes:\n\n> If I do a 'git repack' it works fine, so are these\n> messages coming from the remote server?\n\nI guess so, and your remote server has a restricted environment (chroot\nor so) with very few commands allowed, which prevents shell-scripts from\nexecuting properly.\n\n-- \nMatthieu Moy\nhttp://www-verimag.imag.fr/~moy/\n"},{"id":"198696","messageId":"504E1B54.70603@gmail.com","threadId":"31491","inReplyTo":"vpqfw6pj13t.fsf@bauges.imag.fr","subject":"Re: Problems with repack during push","fromName":"Rob Marshall","fromEmail":"rob.marshall17@gmail.com","sentAt":"2012-09-10T16:54:44Z","receivedAt":"2012-09-10T16:54:44Z","isPatch":false,"sender":{"key":"rob.marshall17@gmail.com","avatar":null},"body":"OK, thanks. I'll check with the guy who set up the server.\n\nRob\n\nOn 9/10/12 12:26 PM, Matthieu Moy wrote:\n> Rob Marshall <Rob.Marshall17@gmail.com> writes:\n>\n>> If I do a 'git repack' it works fine, so are these\n>> messages coming from the remote server?\n>\n> I guess so, and your remote server has a restricted environment (chroot\n> or so) with very few commands allowed, which prevents shell-scripts from\n> executing properly.\n>\n"}]}