]> gitweb.ps.run Git - ps-cgit/blobdiff - cgit.h
ui-repolist: implement lazy caching of repo->mtime
[ps-cgit] / cgit.h
diff --git a/cgit.h b/cgit.h
index ea90833e923c4ee2faaa49ae8ed1788f47dcbe6a..c99d3377b8f962402b10b6aebd5230f77ff1ec2d 100644 (file)
--- 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 {