Re: Fix issue with formatting multiple trailer keys

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

 



On Fri, Sep 06, 2024 at 05:09:08PM -0600, Brooke Kuhlmann wrote:

> Use of a custom separator is a nifty trick. Thanks. A little
> unintuitive but works. Definitely would be neat if you patch this to
> work without the custom separator, though.

The separator will always be required (even if you use multiple
%(trailer) blocks), because it overrides the default of terminating with
a newline. And we can't switch that default without breaking
compatibility for existing users.

So I think after my series you'll have:

  %(trailers:key=Files,separator=) %(trailers:key=Duration,separator=)

or similar.

-Peff




[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