From: Shawn O. Pearce Date: Tue, 20 Mar 2007 15:38:15 GMT Subject: Re: [PATCH 3/4] update-hook: parse the tag header in preparation to use the tag type Message-ID: <20070320153815.GD1750@spearce.org> In-Reply-To: <200703201524.04282.andyparkins@gmail.com> Andy Parkins wrote: > 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.