author | Lars Hjemli <hjemli@gmail.com> | 2008-12-06 10:35:49 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2008-12-06 10:35:49 (UTC) |
commit | 9c8be943f72b6f1bda5a31ce401899c3dd734e98 (patch) (side-by-side diff) | |
tree | 2279ad0a7d36563df7698d6d4e81967d67eb2562 /cgit.h | |
parent | e550440233875b298f8574e9273457516791010f (diff) | |
parent | 8813170390f3c3a0f4743afbc92ede42953fa3b0 (diff) | |
download | cgit-9c8be943f72b6f1bda5a31ce401899c3dd734e98.zip cgit-9c8be943f72b6f1bda5a31ce401899c3dd734e98.tar.gz cgit-9c8be943f72b6f1bda5a31ce401899c3dd734e98.tar.bz2 |
Merge branch 'lh/sort-repolist'
-rw-r--r-- | cgit.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -48,32 +48,33 @@ typedef void (*filepair_fn)(struct diff_filepair *pair); typedef void (*linediff_fn)(char *line, int len); struct cgit_repo { char *url; char *name; char *path; char *desc; char *owner; char *defbranch; char *group; char *module_link; char *readme; char *clone_url; int snapshots; int enable_log_filecount; int enable_log_linecount; + time_t mtime; }; struct cgit_repolist { int length; int count; struct cgit_repo *repos; }; struct commitinfo { struct commit *commit; char *author; char *author_email; unsigned long author_date; char *committer; char *committer_email; unsigned long committer_date; @@ -108,32 +109,33 @@ struct cgit_query { int has_symref; int has_sha1; char *raw; char *repo; char *page; char *search; char *grep; char *head; char *sha1; char *sha2; char *path; char *name; char *mimetype; char *url; int ofs; int nohead; + char *sort; }; struct cgit_config { char *agefile; char *cache_root; char *clone_prefix; char *css; char *favicon; char *footer; char *index_header; char *index_info; char *logo; char *logo_link; char *module_link; char *repo_group; char *robots; |