gitweb: Make git_print_log generic; git_print_simplified_log uses it
[gitweb.git] / revision.h
index e23ec8f45a3b635d83f662e4de5d671e41f37919..d289781051c523c7e1596c6e215625616d51f088 100644 (file)
@@ -55,7 +55,8 @@ struct rev_info {
 
        /* Format info */
        unsigned int    shown_one:1,
-                       abbrev_commit:1;
+                       abbrev_commit:1,
+                       relative_date:1;
        unsigned int    abbrev;
        enum cmit_fmt   commit_format;
        struct log_info *loginfo;
@@ -87,7 +88,7 @@ struct rev_info {
 extern int rev_same_tree_as_empty(struct rev_info *, struct tree *t1);
 extern int rev_compare_tree(struct rev_info *, struct tree *t1, struct tree *t2);
 
-extern void init_revisions(struct rev_info *revs);
+extern void init_revisions(struct rev_info *revs, const char *prefix);
 extern int setup_revisions(int argc, const char **argv, struct rev_info *revs, const char *def);
 extern void prepare_revision_walk(struct rev_info *revs);
 extern struct commit *get_revision(struct rev_info *revs);