Skip to content

Commit 4aaf5b0

Browse files
committed
Merge branch 'sb/merge-recursive-code-cleanup' into maint
Code clean-up. * sb/merge-recursive-code-cleanup: merge-recursive: use DIFF_XDL_SET macro
2 parents 127c13a + c2d4b4c commit 4aaf5b0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

merge-recursive.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2209,11 +2209,11 @@ int parse_merge_opt(struct merge_options *o, const char *s)
22092209
o->xdl_opts |= value;
22102210
}
22112211
else if (!strcmp(s, "ignore-space-change"))
2212-
o->xdl_opts |= XDF_IGNORE_WHITESPACE_CHANGE;
2212+
DIFF_XDL_SET(o, IGNORE_WHITESPACE_CHANGE);
22132213
else if (!strcmp(s, "ignore-all-space"))
2214-
o->xdl_opts |= XDF_IGNORE_WHITESPACE;
2214+
DIFF_XDL_SET(o, IGNORE_WHITESPACE);
22152215
else if (!strcmp(s, "ignore-space-at-eol"))
2216-
o->xdl_opts |= XDF_IGNORE_WHITESPACE_AT_EOL;
2216+
DIFF_XDL_SET(o, IGNORE_WHITESPACE_AT_EOL);
22172217
else if (!strcmp(s, "renormalize"))
22182218
o->renormalize = 1;
22192219
else if (!strcmp(s, "no-renormalize"))

0 commit comments

Comments
 (0)