]> git.ipfire.org Git - thirdparty/git.git/blobdiff - diff.h
diff-lib: tighten show_interdiff()'s interface
[thirdparty/git.git] / diff.h
diff --git a/diff.h b/diff.h
index 308937c94ba5c76e68c4becb799f8c4842542c4a..49242d2733c08de0fa19ee32eb04a3b7f5c9eaae 100644 (file)
--- a/diff.h
+++ b/diff.h
@@ -600,7 +600,12 @@ int index_differs_from(struct repository *r, const char *def,
                       const struct diff_flags *flags,
                       int ita_invisible_in_index);
 
-void show_interdiff(struct rev_info *, int indent);
+/*
+ * Emit an interdiff of two object ID's to 'diff_options.file' optionally
+ * indented by 'indent' spaces.
+ */
+void show_interdiff(const struct object_id *, const struct object_id *,
+                   int indent, struct diff_options *);
 
 /*
  * Fill the contents of the filespec "df", respecting any textconv defined by