Community
Participate
Working Groups
Recently the following error messages occur when I try to push to the Xtext git repo: Auto packing the repository for optimum performance. /usr/local/libexec/git-core/git-sh-setup: line 202: uname: command not found /usr/local/libexec/git-core/git-repack: line 54: rm: command not found /usr/local/libexec/git-core/git-repack: line 58: find: command not found /usr/local/libexec/git-core/git-repack: line 58: sed: command not found /usr/local/libexec/git-core/git-repack: line 91: mkdir: command not found /usr/local/libexec/git-core/git-repack: line 91: rm: command not found According to [1] this could even be a problem on the server instead of my poor machine. Could you please verify that this is not the server's fault? [1] http://stackoverflow.com/questions/4863092/git-push-gives-git-repack-is-not-a-git-command
This may be related to the restricted shell we use, which is not allowing those commands. I've given you a real shell; can you please close all your connections and try your repack operation again? Thanks
Works like a charm. Thanks.
How often do you need to do this repack?
Good question. The server seems to do it automatically after a certain time when somebody pushes new commits.
See bug 340429