]> Sergey Matveev's repositories - public-inbox.git/commitdiff
lei rediff: mark --color-moved value as optional
authorKyle Meyer <kyle@kyleam.com>
Sun, 16 May 2021 02:41:02 +0000 (22:41 -0400)
committerEric Wong <e@80x24.org>
Sun, 16 May 2021 15:21:52 +0000 (15:21 +0000)
`git-diff --color-moved' can be called without a mode, in which case
it defaults to "zebra".

lib/PublicInbox/LEI.pm

index 5f178418517aac52f9292d2115ac2f3aa829ac2d..3e17a614962cdaa195625b11b80634e4213d9440 100644 (file)
@@ -141,7 +141,7 @@ my @lxs_opt = (qw(remote! local! external! include|I=s@ exclude=s@ only=s@
 our @diff_opt = qw(unified|U=i output-indicator-new=s output-indicator-old=s
        output-indicator-context=s indent-heuristic!
        minimal patience histogram anchored=s@ diff-algorithm=s
-       color-moved=s color-moved-ws=s no-color-moved no-color-moved-ws
+       color-moved:s color-moved-ws=s no-color-moved no-color-moved-ws
        word-diff:s word-diff-regex=s color-words:s no-renames
        rename-empty! check ws-error-highlight=s full-index binary
        abbrev:i break-rewrites|B:s find-renames|M:s find-copies:s