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

Re: [PATCH 3/4] update-hook: parse the tag header in preparation to use the tag type

From
Shawn O. Pearce <spearce@spearce.org>
Date
Mar 20, 2007, 15:38 UTC
Message-ID
<20070320153815.GD1750@spearce.org>
In-Reply-To
<200703201524.04282.andyparkins@gmail.com>
Andy Parkins <andyparkins@gmail.com> wrote:
Show 9 quoted lines
> On Tuesday 2007 March 20 14:38, Shawn O. Pearce wrote:
> 
> > The problem of course is the update hook is running before a ref
> > is created to point at the tag.  If you used post-receive hook
> > on the other hand...  Oh, right, that has its own problems too!
> 
> I've obviously not described the problem very well; as I don't understand how 
> your comment relates to this patch.
> 
eval `git for-each-ref --format='taggername=%(taggername) taggerdate=%(taggerdate)' thetag`
Then you have $taggername and $taggerdate available.  ;-)
The problem is, there is no ref to for-each over.  :-(
-- 
Shawn.
Previous: Andy Parkins
Message 4 of 4 in “update-hook: parse the tag header in preparation to use the tag type”
  1. 3/4 update-hook: parse the tag header in preparation to use the tag typeAndy Parkins, Mar 20, 2007
  2. Shawn O. PearceMar 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.