]> git.ipfire.org Git - thirdparty/git.git/blobdiff - diff.h
git-worktree.txt: discuss branch-based vs. throwaway worktrees
[thirdparty/git.git] / diff.h
diff --git a/diff.h b/diff.h
index 9443dc1b0039026ba6c32efd3e445fa61a0860f5..e0c0af6286bbab24fde5174282c66a122737c392 100644 (file)
--- a/diff.h
+++ b/diff.h
@@ -431,11 +431,11 @@ struct combine_diff_path *diff_tree_paths(
        struct combine_diff_path *p, const struct object_id *oid,
        const struct object_id **parents_oid, int nparent,
        struct strbuf *base, struct diff_options *opt);
-int diff_tree_oid(const struct object_id *old_oid,
-                 const struct object_id *new_oid,
-                 const char *base, struct diff_options *opt);
-int diff_root_tree_oid(const struct object_id *new_oid, const char *base,
-                      struct diff_options *opt);
+void diff_tree_oid(const struct object_id *old_oid,
+                  const struct object_id *new_oid,
+                  const char *base, struct diff_options *opt);
+void 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;