Github messages for mblaze
 help / color / mirror / Atom feed
From: leahneukirchen <leahneukirchen@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Closed]: mcolor: Add coloring support for diffs
Date: Thu, 05 Oct 2023 17:43:21 +0200	[thread overview]
Message-ID: <20231005154321.Gb9leUyNWlKQuQBAmR_0ayDe4uIa15jw8PzrflzGe-c@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-fa6558a0-26e0-48f6-803f-f5a8af34f6a8-mblaze-249@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 549 bytes --]

There's a closed pull request on the mblaze repository

mcolor: Add coloring support for diffs
https://github.com/leahneukirchen/mblaze/pull/249

Description:
Add coloring for diffs sent as part of the email body. This adds support for the following three ENV variables:

- **MCOLOR_DIFF_I**: For (I)nserted lines.
- **MCOLOR_DIFF_D**: For (D)eleted lines
- **MCOLOR_DIFF_R**: For file (R)anges

Since the default theme is quite bright, these default to bright colors as well (Green1, Red1 and Yellow1 from the 256 XTerm colors respectively).

  parent reply	other threads:[~2023-10-05 15:43 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-05 13:59 [PR PATCH] " thyssentishman
2023-10-05 14:33 ` leahneukirchen
2023-10-05 14:36 ` leahneukirchen
2023-10-05 14:38 ` leahneukirchen
2023-10-05 15:24 ` [PR PATCH] [Updated] " thyssentishman
2023-10-05 15:24 ` thyssentishman
2023-10-05 15:34 ` leahneukirchen
2023-10-05 15:40 ` [PR PATCH] [Updated] " thyssentishman
2023-10-05 15:43 ` thyssentishman
2023-10-05 15:43 ` leahneukirchen [this message]
2023-10-05 15:44 ` thyssentishman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231005154321.Gb9leUyNWlKQuQBAmR_0ayDe4uIa15jw8PzrflzGe-c@z \
    --to=leahneukirchen@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).