Code

Run "git repack -a -d" once more at end, if there's 1MB or more of not-packed data.
[git.git] / diff.h
diff --git a/diff.h b/diff.h
index 6fda92a7b5e69cbedfe5b13e9c4e7fba54a7ed7f..101b2b505dcace41754687a427ad0523daaa50a0 100644 (file)
--- a/diff.h
+++ b/diff.h
@@ -103,6 +103,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;