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" |
| 5 | |
Eric Sunshine | 2566865 | 2018-07-22 05:57:11 -0400 | [diff] [blame] | 6 | #define RANGE_DIFF_CREATION_FACTOR_DEFAULT 60 |
| 7 | |
Junio C Hamano | d8981c3 | 2018-11-30 13:27:11 +0900 | [diff] [blame] | 8 | /* |
| 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 Schindelin | d9c66f0 | 2018-08-13 04:33:04 -0700 | [diff] [blame] | 13 | int show_range_diff(const char *range1, const char *range2, |
Eric Sunshine | 73a834e | 2018-07-22 05:57:12 -0400 | [diff] [blame] | 14 | int creation_factor, int dual_color, |
| 15 | struct diff_options *diffopt); |
Johannes Schindelin | d9c66f0 | 2018-08-13 04:33:04 -0700 | [diff] [blame] | 16 | |
| 17 | #endif |