]> oss.titaniummirror.com Git - repo_shell.git/blobdiff - repo-shell.c
Add git prefix to repository paths
[repo_shell.git] / repo-shell.c
index 6962d35da946d73729e5a6f53dc7cfde548da236..b44c64421a2abee000a32aa6460b39a28e676f5e 100644 (file)
@@ -161,7 +161,7 @@ static int do_git_cmd(const char *cmd, char *arg, char *user)
                die("permission denied");
 
        nargv[0] = cmd;
-       nargv[1] = arg;
+       nargv[1] = add_prefix(git_repo_root, arg);
        nargv[2] = NULL;
 
        ret = execvp(nargv[0], (char *const *) nargv);