On Tue, 30 Aug 2011 11:43:44 +0200 Michael J Gruber <git@xxxxxxxxxxxxxxxxxxxx> wrote: > > When grabbing a %(body) or %(contents) off a tag, one doesn't really > > expect to get the GPG signature as well (as it's basically useless > > without the complete signed text). Thus, strip it off those two > > tags, and make available via %(signature) if anyone needs it. > > No, please do not change %(contents). It is the complete content which > (together with the header) enters into the sha1 calculation. > > You will probably also face opposition as regards to %(body), changing > existing behaviour. > > In fact, I wish we didn't have %(body) but %(contents:body) just like > other modifiers such as :short. Yeah, I was wondering why it is like that. > I think I'd go for > > %(contents:signature) > > and implement > > %(contents:subject) the same as %(subject) > %(contents:body) as contents minus subject minus signature How should I implement the ':' magic? Through adding a new type or just putting ':' in place? -- Best regards, Michał Górny
Attachment:
signature.asc
Description: PGP signature