git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 2/4] update-hook: show the contents of the tag message for annotated tags

From
Shawn O. Pearce <spearce@spearce.org>
Date
Mar 20, 2007, 15:36 UTC
Message-ID
<20070320153648.GC1750@spearce.org>
In-Reply-To
<200703201527.15476.andyparkins@gmail.com>
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.
Previous: Andy Parkins
Message 4 of 4 in “update-hook: show the contents of the tag message for annotated tags”
  1. 2/4 update-hook: show the contents of the tag message for annotated tagsAndy Parkins, Mar 20, 2007
  2. Martin WaitzMar 20, 2007
  3. Andy ParkinsMar 20, 2007
  4. Shawn O. PearceMar 20, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.