Re: [PATCH v4 2/7] pretty: allow %(trailers) options with explicit value
- From
Anders Waldenborg <anders@0x63.nu>
- Date
- Jan 31, 2019, 18:46 UTC
- Message-ID
- <87o97wll60.fsf@0x63.nu>
- In-Reply-To
- <CAL21Bmmx=EO+R2t+KviNekDhU3fc0wjCcmUmbzLa14bb0PAmHA@mail.gmail.com>
Оля Тележная writes:
Show 12 quoted lines
>> Oh my. I wasn't aware that there was a totally separate string >> interpolation implementation used for ref filters. That one has >> separated parsing, making it more amenable to good error handling. >> I wonder if that could be generalized and reused for pretty formats. >> >> However I doubt I will have time to dig deeper into that in near time. >> > > Sorry, I haven't read your patch in details. If you will be at Git Merge > tomorrow, you could ask me any questions, I can explain how for-each-ref > formatting works amd maybe even give you some ideas how to use its logic in > pretty, I was thinking about it a bit.
No, unfortunately I'm not at Git Merge.
I think I got how the formatting work. But if you have ideas on how to reuse the logic I'm all ears.