Re: [PATCH 2/4] update-hook: show the contents of the tag message for annotated tags
Andy Parkins <andyparkins@gmail.com> wrote:
Show 11 quoted lines
> On Tuesday 2007 March 20 12:41, Martin Waitz wrote:
>
> > > Which is dangerously reliant on the format of the tag object being four
> > > header lines then the message.
> >
> > I think you can split at the blank line after the header.
>
> That's a good idea; I can't think of an efficient way of doing that in shell
> script though. What I need is a
>
> grep --everything-after "^$"
sed -e '1,/^$/d'
Portable too. ;-)
--
Shawn.