author | Lars Hjemli <hjemli@gmail.com> | 2008-04-08 19:27:12 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2008-04-08 19:27:12 (UTC) |
commit | c6f747649ace1a92ed5dfaae9cc1ea3affe0bf51 (patch) (side-by-side diff) | |
tree | c2d8ccd19974b6dfe32c5d3bffcfdf22dd526ae1 /ui-shared.c | |
parent | e87e89633383b8b75c68c98be3e0c14212109de2 (diff) | |
download | cgit-c6f747649ace1a92ed5dfaae9cc1ea3affe0bf51.zip cgit-c6f747649ace1a92ed5dfaae9cc1ea3affe0bf51.tar.gz cgit-c6f747649ace1a92ed5dfaae9cc1ea3affe0bf51.tar.bz2 |
Reset ctx.repo to NULL when the config parser is finished
This global variable is used by the config parsing callback to keep track
of the currently configured repository. If it is not reset to NULL when
the config parser is finished, and neither `url` or `r` is specified on the
querystring, cgit will wrongly consider the last configured repo as
selected.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
0 files changed, 0 insertions, 0 deletions