From: R. Steve McKown Date: Sun, 23 Sep 2012 17:54:41 +0000 (-0600) Subject: Add git prefix to repository paths X-Git-Tag: 0.1~5 X-Git-Url: https://oss.titaniummirror.com/gitweb?p=repo_shell.git;a=commitdiff_plain;h=a898b04558c82e95fe91084b157091507c125087 Add git prefix to repository paths --- 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);