X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=repo-shell.c;h=b44c64421a2abee000a32aa6460b39a28e676f5e;hb=a898b04558c82e95fe91084b157091507c125087;hp=6962d35da946d73729e5a6f53dc7cfde548da236;hpb=3d9b0d26525b04fb22e608d3679b073d0096d8d6;p=repo_shell.git diff --git a/repo-shell.c b/repo-shell.c index 6962d35..b44c644 100644 --- a/repo-shell.c +++ b/repo-shell.c @@ -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);