Re: More formatting with 'git tag -l'
- From
Michał Górny <mgorny@gentoo.org>
- Date
- Aug 29, 2011, 21:50 UTC
- Message-ID
- <20110829235023.31b5ab23@pomiocik.lan>
- In-Reply-To
- <20110829213757.GB14299@sigill.intra.peff.net>
On Mon, 29 Aug 2011 17:37:57 -0400 Jeff King <peff@peff.net> wrote:
Show 16 quoted lines
> 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