aboutsummaryrefslogtreecommitdiff
path: root/revision.h
diff options
context:
space:
mode:
Diffstat (limited to 'revision.h')
-rw-r--r--revision.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/revision.h b/revision.h
index 83d28d520..8970b57e3 100644
--- a/revision.h
+++ b/revision.h
@@ -43,6 +43,9 @@ struct rev_info {
unsigned long max_age;
unsigned long min_age;
+ /* paths limiting */
+ struct diff_options diffopt;
+
topo_sort_set_fn_t topo_setter;
topo_sort_get_fn_t topo_getter;
};
@@ -52,8 +55,8 @@ struct rev_info {
#define REV_TREE_DIFFERENT 2
/* revision.c */
-extern int rev_same_tree_as_empty(struct tree *t1);
-extern int rev_compare_tree(struct tree *t1, struct tree *t2);
+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 int setup_revisions(int argc, const char **argv, struct rev_info *revs, const char *def);