Unidiff1 files changed, 8 insertions, 0 deletions
|
diff --git a/cgit.c b/cgit.c index 38bc136..ab25b6a 100644 --- a/ cgit.c+++ b/ cgit.c |
|
@@ -260,2 +260,4 @@ static void querystring_cb(const char *name, const char *value) |
260 | ctx.qry.show_all = atoi(value); |
260 | ctx.qry.show_all = atoi(value); |
| |
261 | } else if (!strcmp(name, "context")) { |
| |
262 | ctx.qry.context = atoi(value); |
261 | } |
263 | } |
@@ -435,2 +437,8 @@ static void process_request(void *cbdata) |
435 | |
437 | |
| |
438 | /* If cmd->want_vpath is set, assume ctx->qry.path contains a "virtual" |
| |
439 | * in-project path limit to be made available at ctx->qry.vpath. |
| |
440 | * Otherwise, no path limit is in effect (ctx->qry.vpath = NULL). |
| |
441 | */ |
| |
442 | ctx->qry.vpath = cmd->want_vpath ? ctx->qry.path : NULL; |
| |
443 | |
436 | if (cmd->want_repo && !ctx->repo) { |
444 | if (cmd->want_repo && !ctx->repo) { |
|