From: Jeff King Date: Thu, 28 Feb 2019 21:07:53 GMT Subject: Re: [PATCH RFC 03/20] ref-filter: add rest formatting option Message-ID: <20190228210753.GC12723@sigill.intra.peff.net> In-Reply-To: <0102016915f49a49-6f817c1d-5b1c-47ac-98c3-18a124a733eb-000000@eu-west-1.amazonses.com> On Fri, Feb 22, 2019 at 04:05:45PM +0000, Olga Telezhnaya wrote: > Add rest option that allows to add string into ref_array_item > and then put it into specific place of the output. > We are using it now in cat-file command: user could put anything > in the input after objectname, and it will appear in the output > in place of %(rest). This would make: git for-each-ref --format='%(rest)' do something. But what (and could it ever be useful or meaningful)? Should we add an option to ref-filter to enable/disable this placeholder? -Peff