git conversion status update

Jannis Pohlmann jannis at xfce.org
Sun May 10 12:51:38 CEST 2009


On Sun, 10 May 2009 01:35:05 -0700
"Brian J. Tarricone" <brian at tarricone.org> wrote:

> On Sun, 10 May 2009 04:16:07 +0200 Jannis Pohlmann wrote:
> 
> > I'll need to test this but while working on the commit mail hook
> > script, I found out that I can generate nice commit mails like this
> > for tags:
> > 
> >   Updating annotated tag refs/tags/2.0.4
> >        as new annotated tag
> >            to c34c2d75b29d92c40f06a605d27482d45308b743 (tag)
> >      replaces 2.0.0
> >     tagged by Jannis Pohlmann <jannis at xfce.org>
> >            on 2009-05-10 03:47 +0200
> >   
> >   Jannis Pohlmann (1):
> >         Revision 16
> > 
> > That means git detects when a tag replaces another one and lists the
> > commits between the two tags at the bottom of the mail. I don't know
> > if this only works for tags like "x.y.z" or also for tags like
> > "xfce-x.y.z". 
> 
> Unnecessary... I'm planning on setting up the pre commit hooks to
> disallow changing tags.

No, this is not about changing a tag. This is about creating new ones.
Let's say we've tagged 4.6.0 with "git tag -a 4.6.0" and later tag "git
tag -a 4.6.1". That's when you'd get the email above: it tells you the
previous tag and gives you a list of authors and commit subjects
between the previous tag and the new one.

I've tested and it seems to work independently of the tag naming
scheme. So we're good with xfce-x.y.z instead of just x.y.z.

  - Jannis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20090510/5311e695/attachment.pgp>


More information about the Xfce4-dev mailing list