Re: More formatting with 'git tag -l'
- From
Jeff King <peff@peff.net>
- Date
- Aug 29, 2011, 21:37 UTC
- Message-ID
- <20110829213757.GB14299@sigill.intra.peff.net>
- In-Reply-To
- <20110829232011.565ea553@pomiocik.lan>
On Mon, Aug 29, 2011 at 11:20:11PM +0200, Michał Górny wrote:
Show 8 quoted lines
> > 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?
-Peff