tree-diff: convert diff_root_tree_sha1 to struct object_id
[gitweb.git] / diff.h
diff --git a/diff.h b/diff.h
index 6aeeda035e7e8e1a739e34f0533867b94c60040d..8d46a670990856af2653d5f158cb34ca4e2fc91b 100644 (file)
--- a/diff.h
+++ b/diff.h
@@ -215,8 +215,8 @@ extern struct combine_diff_path *diff_tree_paths(
        struct strbuf *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);
+extern int diff_root_tree_oid(const struct object_id *new_oid, const char *base,
+                             struct diff_options *opt);
 
 struct combine_diff_path {
        struct combine_diff_path *next;