diff options
author | Lars Hjemli <hjemli@gmail.com> | 2008-12-06 11:35:49 +0100 |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2008-12-06 11:35:49 +0100 |
commit | 9c8be943f72b6f1bda5a31ce401899c3dd734e98 (patch) | |
tree | 2279ad0a7d36563df7698d6d4e81967d67eb2562 /shared.c | |
parent | Merge branch 'snapshot-fixes' (diff) | |
parent | ui-repolist: implement lazy caching of repo->mtime (diff) | |
download | cgit-pink-9c8be943f72b6f1bda5a31ce401899c3dd734e98.tar.gz cgit-pink-9c8be943f72b6f1bda5a31ce401899c3dd734e98.zip |
Merge branch 'lh/sort-repolist'
Diffstat (limited to 'shared.c')
-rw-r--r-- | shared.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/shared.c b/shared.c index f5875e4..89d1bab 100644 --- a/shared.c +++ b/shared.c @@ -60,6 +60,7 @@ struct cgit_repo *cgit_add_repo(const char *url) ret->enable_log_linecount = ctx.cfg.enable_log_linecount; ret->module_link = ctx.cfg.module_link; ret->readme = NULL; + ret->mtime = -1; return ret; } |