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