summaryrefslogtreecommitdiff
path: root/range-diff.h
diff options
context:
space:
mode:
Diffstat (limited to 'range-diff.h')
-rw-r--r--range-diff.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/range-diff.h b/range-diff.h
index 2407d46a30..e11976dc81 100644
--- a/range-diff.h
+++ b/range-diff.h
@@ -2,8 +2,18 @@
#define RANGE_DIFF_H
#include "diff.h"
+#include "argv-array.h"
+#define RANGE_DIFF_CREATION_FACTOR_DEFAULT 60
+
+/*
+ * Compare series of commits in RANGE1 and RANGE2, and emit to the
+ * standard output. NULL can be passed to DIFFOPT to use the built-in
+ * default.
+ */
int show_range_diff(const char *range1, const char *range2,
- int creation_factor, struct diff_options *diffopt);
+ int creation_factor, int dual_color,
+ const struct diff_options *diffopt,
+ const struct argv_array *other_arg);
#endif