From: Shawn O. Pearce Date: Tue, 20 Mar 2007 15:36:48 GMT Subject: Re: [PATCH 2/4] update-hook: show the contents of the tag message for annotated tags Message-ID: <20070320153648.GC1750@spearce.org> In-Reply-To: <200703201527.15476.andyparkins@gmail.com> Andy Parkins wrote: > 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.