blob: 08a50b6e98fc768f42e48b33c70ffbf17a7e8e4c [file] [log] [blame]
Johannes Schindelind9c66f02018-08-13 04:33:04 -07001#ifndef RANGE_DIFF_H
2#define RANGE_DIFF_H
3
Johannes Schindelinc8c5e432018-08-13 04:33:07 -07004#include "diff.h"
5
Eric Sunshine25668652018-07-22 05:57:11 -04006#define RANGE_DIFF_CREATION_FACTOR_DEFAULT 60
7
Junio C Hamanod8981c32018-11-30 13:27:11 +09008/*
9 * Compare series of commmits in RANGE1 and RANGE2, and emit to the
10 * standard output. NULL can be passed to DIFFOPT to use the built-in
11 * default.
12 */
Johannes Schindelind9c66f02018-08-13 04:33:04 -070013int show_range_diff(const char *range1, const char *range2,
Eric Sunshine73a834e2018-07-22 05:57:12 -040014 int creation_factor, int dual_color,
15 struct diff_options *diffopt);
Johannes Schindelind9c66f02018-08-13 04:33:04 -070016
17#endif