Re: [PATCH 2/2] pretty: add '%aA' to show domain-part of email addresses

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 28/10/2023 07:58, Andy Koppe wrote:
On 28/10/2023 04:22, Liam Beguin wrote:
On Fri, Oct 27, 2023 at 10:13:01PM -0400, Jeff King wrote:
One way you could directly use this is in shortlog, which these days
lets you group by specific formats. So:

   git shortlog -ns --group=format:%aA

That's exactly what I implemented this for :-)

Another potential use case is custom log formats where one might want to color the local-part separately from the domain part.

It also feels like a symmetric match to "%al", which already exists.

Speaking of symmetry, I think it would need "%c" counterparts for the coloring use case.

D'oh, it always helps to read the actual patches, which do have the %c variants.

Thanks,
Andy




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux