diff options
author | Lars Hjemli <hjemli@gmail.com> | 2008-03-25 02:00:09 +0100 |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2008-03-25 02:00:09 +0100 |
commit | dc3282f0baa14949439593729a45fbe143e3622c (patch) | |
tree | 2eb7eabeb11c4a1c1e132d396ac5c621caf48414 /cgit.c | |
parent | c60781d677ee3b2e53b1f3078fef763622e5effe (diff) | |
download | cgit-dc3282f0baa14949439593729a45fbe143e3622c.tar.gz cgit-dc3282f0baa14949439593729a45fbe143e3622c.tar.bz2 cgit-dc3282f0baa14949439593729a45fbe143e3622c.zip |
Remove global and obsolete cgit_cmd
This variable was obsoleted by cmd.c.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'cgit.c')
-rw-r--r-- | cgit.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -181,7 +181,7 @@ static int cgit_prepare_cache(struct cacheitem *item) return 1; } - if (!cgit_cmd) { + if (!ctx.qry.page) { item->name = xstrdup(fmt("%s/%s/index.%s.html", ctx.cfg.cache_root, cache_safe_filename(ctx.repo->url), cache_safe_filename(ctx.qry.raw))); |