summaryrefslogtreecommitdiff
path: root/diff.h
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-11-01 09:17:37 -0800
committerJunio C Hamano <junkio@cox.net>2006-11-01 09:17:37 -0800
commit56532fa147d56057ad4121f5ccea8e254748afdd (patch)
treef5536ca0d7ba9ca232ea606ebc6f501d396a4b98 /diff.h
parente0d68cd5d95fc15342db38c211f71efe5bcfbe94 (diff)
parent2b60356da5369dd60ab26eabaa91d95b6badf209 (diff)
downloadgit-56532fa147d56057ad4121f5ccea8e254748afdd.tar.gz
Merge branch 'rs/cherry'
* rs/cherry: Make git-cherry handle root trees Built-in cherry
Diffstat (limited to 'diff.h')
-rw-r--r--diff.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/diff.h b/diff.h
index ce3058e437..ac7b21c46b 100644
--- a/diff.h
+++ b/diff.h
@@ -102,6 +102,8 @@ 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,
const char *base, struct diff_options *opt);
+extern int diff_root_tree_sha1(const unsigned char *new, const char *base,
+ struct diff_options *opt);
struct combine_diff_path {
struct combine_diff_path *next;