Johannes Schindelin | d9c66f0 | 2018-08-13 04:33:04 -0700 | [diff] [blame] | 1 | #ifndef RANGE_DIFF_H |
| 2 | #define RANGE_DIFF_H |
| 3 | |
Johannes Schindelin | c8c5e43 | 2018-08-13 04:33:07 -0700 | [diff] [blame] | 4 | #include "diff.h" |
Jeff King | dbbcd44 | 2020-07-28 16:23:39 -0400 | [diff] [blame] | 5 | #include "strvec.h" |
Johannes Schindelin | c8c5e43 | 2018-08-13 04:33:07 -0700 | [diff] [blame] | 6 | |
Eric Sunshine | 2566865 | 2018-07-22 05:57:11 -0400 | [diff] [blame] | 7 | #define RANGE_DIFF_CREATION_FACTOR_DEFAULT 60 |
| 8 | |
Junio C Hamano | d8981c3 | 2018-11-30 13:27:11 +0900 | [diff] [blame] | 9 | /* |
Elijah Newren | 15beaaa | 2019-11-05 17:07:23 +0000 | [diff] [blame] | 10 | * Compare series of commits in RANGE1 and RANGE2, and emit to the |
Junio C Hamano | d8981c3 | 2018-11-30 13:27:11 +0900 | [diff] [blame] | 11 | * standard output. NULL can be passed to DIFFOPT to use the built-in |
| 12 | * default. |
| 13 | */ |
Johannes Schindelin | d9c66f0 | 2018-08-13 04:33:04 -0700 | [diff] [blame] | 14 | int show_range_diff(const char *range1, const char *range2, |
Eric Sunshine | 73a834e | 2018-07-22 05:57:12 -0400 | [diff] [blame] | 15 | int creation_factor, int dual_color, |
Denton Liu | f867534 | 2019-12-06 12:16:26 -0800 | [diff] [blame] | 16 | const struct diff_options *diffopt, |
Jeff King | c972bf4 | 2020-07-28 16:25:12 -0400 | [diff] [blame] | 17 | const struct strvec *other_arg); |
Johannes Schindelin | d9c66f0 | 2018-08-13 04:33:04 -0700 | [diff] [blame] | 18 | |
| 19 | #endif |