unofficial mirror of meta@public-inbox.org
 help / color / mirror / Atom feed
* [PATCH] lei rediff: mark --color-moved value as optional
@ 2021-05-16  2:41 Kyle Meyer
  0 siblings, 0 replies; only message in thread
From: Kyle Meyer @ 2021-05-16  2:41 UTC (permalink / raw)
  To: meta

`git-diff --color-moved' can be called without a mode, in which case
it defaults to "zebra".
---
 lib/PublicInbox/LEI.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/PublicInbox/LEI.pm b/lib/PublicInbox/LEI.pm
index 5f178418..3e17a614 100644
--- a/lib/PublicInbox/LEI.pm
+++ b/lib/PublicInbox/LEI.pm
@@ -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

base-commit: 79e274b293a71fb41dd8bf6e9598a8e8a24fed4f
-- 
2.31.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-05-16  2:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-16  2:41 [PATCH] lei rediff: mark --color-moved value as optional Kyle Meyer

unofficial mirror of meta@public-inbox.org

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/meta

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 meta meta/ https://yhetil.org/meta \
		meta@public-inbox.org
	public-inbox-index meta

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.mail.public-inbox.meta
	nntp://news.public-inbox.org/inbox.mail.public-inbox.meta
	nntp://news.gmane.io/gmane.mail.public-inbox.general


AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git