On Mon, 29 Aug 2011 17:37:57 -0400 Jeff King <peff@xxxxxxxx> wrote: > On Mon, Aug 29, 2011 at 11:20:11PM +0200, Michał Górny wrote: > > > > You can do something similar with 'git for-each-ref', which is > > > probably what you should be using if you are scripting, anyway > > > (as it is "plumbing" and guaranteed not to change in future > > > releases). Something like: > > > > Thanks, that looks great. The only thing I am missing right now is > > a simple %(body) variant which would strip the GPG signature. I'd > > really like to avoid establishing a shell oneliner to do that. > > Yeah, I don't think that's possible with the current code. I don't > think it would be unreasonable to add "%(tagcontents)" and > "%(tagsignature)" or something similar, though. > > Want to try a patch? I'll take a look at the code tomorrow and see if I can assemble something useful. Someone will have to design nice names though. -- Best regards, Michał Górny
Attachment:
signature.asc
Description: PGP signature