On Fri, Nov 18, 2016 at 3:38 PM, Junio C Hamano <gitster@xxxxxxxxx> wrote: > Jacob Keller <jacob.e.keller@xxxxxxxxx> writes: > >> Git interpret-trailers will not recognize this as a trailer block >> because it doesn't have any standard git tags within it. Would it be ok >> to augment the trailer interpretation to say that if we have over 75% >> trailers in the block that we accept it even if it doesn't have any real >> recognized tags? > > I thought the documented way to do this is to configure one of your > custom trailer as such. Jonathan? > That would be fine then, if that works. >> pretty: add %bT format for displaying trailers of a commit message > > Are %(...) taken already? In longer term, it would be nice if we > can unify the --pretty formats and for-each-ref formats, so it is > probably better if we avoid adding any new short ones to the former. > Oh, I hadn't considered adding a longer one. I'll rework this to use longer ones. > We have %s and %b so that we can reconstruct the whole thing by > using both. It is unclear how %bT fits in this picture. I wonder > if we also need another placeholder that expands to the body of the > message without the trailer---otherwise the whole set would become > incoherent, no? > I'm not entirely sure what to do here. I just wanted a way to easily format "just the trailers" of a message. We could add something that formats just the non-trailers, that's not too difficult. Not really sure what I'd call it though. Thanks, Jake