summaryrefslogtreecommitdiff
path: root/diff.h
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-04-11 14:34:53 -0700
committerJunio C Hamano <junkio@cox.net>2006-04-11 14:34:53 -0700
commit4da8cbc234177d6a8cf749d4ef60bd05ec843898 (patch)
treea97b17b67a77e6d9f9b7cdf0aa265594db2ddeb4 /diff.h
parentb5b1442ac35706ce1e3daed407dd935f0e9dd796 (diff)
parentc4e05b1a2290c605e68e6dac5e2a580e6d4080b7 (diff)
downloadgit-4da8cbc234177d6a8cf749d4ef60bd05ec843898.tar.gz
Merge branch 'jc/diff' into next
* jc/diff: blame and friends: adjust to multiple pathspec change. git log --full-diff tree-diff: do not assume we use only one pathspec
Diffstat (limited to 'diff.h')
-rw-r--r--diff.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/diff.h b/diff.h
index c5372b984a..236095fc9a 100644
--- a/diff.h
+++ b/diff.h
@@ -39,11 +39,15 @@ struct diff_options {
int setup;
int abbrev;
+ int nr_paths;
+ const char **paths;
+ int *pathlens;
change_fn_t change;
add_remove_fn_t add_remove;
};
-extern void diff_tree_setup_paths(const char **paths);
+extern void diff_tree_setup_paths(const char **paths, struct diff_options *);
+extern void diff_tree_release_paths(struct diff_options *);
extern int diff_tree(struct tree_desc *t1, struct tree_desc *t2,
const char *base, struct diff_options *opt);
extern int diff_tree_sha1(const unsigned char *old, const unsigned char *new,