aboutsummaryrefslogtreecommitdiffstats
path: root/cgit.h
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2008-12-06 11:35:49 +0100
committerLars Hjemli <hjemli@gmail.com>2008-12-06 11:35:49 +0100
commit9c8be943f72b6f1bda5a31ce401899c3dd734e98 (patch)
tree2279ad0a7d36563df7698d6d4e81967d67eb2562 /cgit.h
parentMerge branch 'snapshot-fixes' (diff)
parentui-repolist: implement lazy caching of repo->mtime (diff)
downloadcgit-9c8be943f72b6f1bda5a31ce401899c3dd734e98.tar.xz
cgit-9c8be943f72b6f1bda5a31ce401899c3dd734e98.zip
Merge branch 'lh/sort-repolist'
Diffstat (limited to 'cgit.h')
-rw-r--r--cgit.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cgit.h b/cgit.h
index 92f0c5a..f1fbeca 100644
--- a/cgit.h
+++ b/cgit.h
@@ -61,6 +61,7 @@ struct cgit_repo {
int snapshots;
int enable_log_filecount;
int enable_log_linecount;
+ time_t mtime;
};
struct cgit_repolist {
@@ -121,6 +122,7 @@ struct cgit_query {
char *url;
int ofs;
int nohead;
+ char *sort;
};
struct cgit_config {