🌐 AI搜索 & 代理 主页
blob: 583ced2e8e749003b9a22fe2496d0db49f5ba7f9 [file] [log] [blame]
Johannes Schindelind9c66f02018-08-13 11:33:041#ifndef RANGE_DIFF_H
2#define RANGE_DIFF_H
3
Johannes Schindelinc8c5e432018-08-13 11:33:074#include "diff.h"
Jeff Kingdbbcd442020-07-28 20:23:395#include "strvec.h"
Johannes Schindelinc8c5e432018-08-13 11:33:076
Eric Sunshine25668652018-07-22 09:57:117#define RANGE_DIFF_CREATION_FACTOR_DEFAULT 60
8
Junio C Hamanod8981c32018-11-30 04:27:119/*
Elijah Newren15beaaa2019-11-05 17:07:2310 * Compare series of commits in RANGE1 and RANGE2, and emit to the
Junio C Hamanod8981c32018-11-30 04:27:1111 * standard output. NULL can be passed to DIFFOPT to use the built-in
12 * default.
13 */
Johannes Schindelind9c66f02018-08-13 11:33:0414int show_range_diff(const char *range1, const char *range2,
Eric Sunshine73a834e2018-07-22 09:57:1215 int creation_factor, int dual_color,
Denton Liuf8675342019-12-06 20:16:2616 const struct diff_options *diffopt,
Jeff Kingc972bf42020-07-28 20:25:1217 const struct strvec *other_arg);
Johannes Schindelind9c66f02018-08-13 11:33:0418
19#endif