summaryrefslogtreecommitdiff
path: root/revision.h
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-04-10 18:14:54 -0700
committerJunio C Hamano <junkio@cox.net>2006-04-10 19:17:31 -0700
commitc4e05b1a2290c605e68e6dac5e2a580e6d4080b7 (patch)
treeea41950c4519a6665503ec4fc9a4d2d2e17c55bc /revision.h
parent477f2b41310c4b1040a9e7f72720b9c39d82caf9 (diff)
downloadgit-c4e05b1a2290c605e68e6dac5e2a580e6d4080b7.tar.gz
blame and friends: adjust to multiple pathspec change.
This makes things that include revision.h build again. Blame is also built, but I am not sure how well it works (or how well it worked to begin with) -- it was relying on tree-diff to be using whatever pathspec was used the last time, which smells a bit suspicious. Signed-off-by: Junio C Hamano <junkio@cox.net>
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 83d28d5205..8970b57e3c 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);