# Headless tags don't have a follows or precedes?

3 messages from 2009-10-28 to 2009-11-02. Participants: Tim Mazid, Dmitry Potapov.
Thread: https://gitlist.dev/t/21401

## Tim Mazid, 2009-10-28 11:36

Subject: Headless tags don't have a follows or precedes?
Message-ID: <26093136.post@talk.nabble.com>
URL: https://gitlist.dev/e/26093136.post%40talk.nabble.com

```

Hi all,

I've noticed that if I create a headless tag (one that doesn't have a
branch, right?), when I click on that commit, it doesn't have precedes or
follows information. Is this by design? Is there a work-around I can use
without creating a branch there?

Thanks,
Tim.
-- 
View this message in context: http://www.nabble.com/Headless-tags-don%27t-have-a-follows-or-precedes--tp26093136p26093136.html
Sent from the git mailing list archive at Nabble.com.

```

## Dmitry Potapov, 2009-11-02 13:09

Subject: Re: Headless tags don't have a follows or precedes?
Message-ID: <20091102130919.GB27126@dpotapov.dyndns.org>
URL: https://gitlist.dev/e/20091102130919.GB27126%40dpotapov.dyndns.org
In-Reply-To: <26093136.post@talk.nabble.com>

```
On Wed, Oct 28, 2009 at 04:36:59AM -0700, Tim Mazid wrote:
> 
> I've noticed that if I create a headless tag (one that doesn't have a
> branch, right?),

I have never heard tag being described as headless... A tag is just a
pointer on some commit (annotated tag contains additional information
such as creater, data, message), in any case, it has no direct relation
to any branch.

> when I click on that commit, it doesn't have precedes or
> follows information. Is this by design?

Tags do not store any precedes or follows information, no matter how you
created them, but visualization tools can look at the tree and display
what was before some commit and what was after it. Without seeing your
tree, it is impossible to tell whether gitk (or what you use?) displayed
that correctly or not.


Dmitry

```

## Tim Mazid, 2009-11-02 13:16

Subject: Re: Headless tags don't have a follows or precedes?
Message-ID: <1257167788750-3931717.post@n2.nabble.com>
URL: https://gitlist.dev/e/1257167788750-3931717.post%40n2.nabble.com
In-Reply-To: <20091102130919.GB27126@dpotapov.dyndns.org>

```


Dmitry Potapov wrote:
> 
> I have never heard tag being described as headless... A tag is just a
> pointer on some commit (annotated tag contains additional information
> such as creater, data, message), in any case, it has no direct relation
> to any branch.
> 
> Tags do not store any precedes or follows information, no matter how you
> created them, but visualization tools can look at the tree and display
> what was before some commit and what was after it. Without seeing your
> tree, it is impossible to tell whether gitk (or what you use?) displayed
> that correctly or not.
> 
Well, not the tag itself, but the commit the tags points to. Same thing.
Like you're always bothered to say "the commit that the tag v1 points to"
rather than "the v1 tag".
Also, see my post above.
-- 
View this message in context: http://n2.nabble.com/Headless-tags-don-t-have-a-follows-or-precedes-tp3926483p3931717.html
Sent from the git mailing list archive at Nabble.com.

```
