]> git.ipfire.org Git - thirdparty/git.git/blobdiff - diff.c
diff: --ignore-cr-at-eol
[thirdparty/git.git] / diff.c
diff --git a/diff.c b/diff.c
index 790250fe868b04118fd78f3bdb893b66693a2d9c..dd14e4190c48a8515e4b2089d36df1b444075ddb 100644 (file)
--- a/diff.c
+++ b/diff.c
@@ -3888,6 +3888,8 @@ int diff_opt_parse(struct diff_options *options,
                DIFF_XDL_SET(options, IGNORE_WHITESPACE_CHANGE);
        else if (!strcmp(arg, "--ignore-space-at-eol"))
                DIFF_XDL_SET(options, IGNORE_WHITESPACE_AT_EOL);
+       else if (!strcmp(arg, "--ignore-cr-at-eol"))
+               DIFF_XDL_SET(options, IGNORE_CR_AT_EOL);
        else if (!strcmp(arg, "--ignore-blank-lines"))
                DIFF_XDL_SET(options, IGNORE_BLANK_LINES);
        else if (!strcmp(arg, "--indent-heuristic"))