aboutsummaryrefslogtreecommitdiffstats
path: root/diff.c
diff options
context:
space:
mode:
Diffstat (limited to 'diff.c')
-rw-r--r--diff.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/diff.c b/diff.c
index 648f6717a5..a74bfb4a60 100644
--- a/diff.c
+++ b/diff.c
@@ -5397,6 +5397,12 @@ static int diff_opt_rotate_to(const struct option *opt, const char *arg, int uns
return 0;
}
+struct option *add_diff_options(const struct option *opts,
+ struct diff_options *options)
+{
+ return parse_options_concat(opts, options->parseopts);
+}
+
static void prep_parse_options(struct diff_options *options)
{
struct option parseopts[] = {