# Feature request: git-log should optionally include tags

3 messages from 2008-10-26 to 2008-10-26. Participants: Roger Leigh, Mikael Magnusson.
Thread: https://gitlist.dev/t/16050

## Roger Leigh, 2008-10-26 12:13

Subject: Feature request: git-log should optionally include tags
Message-ID: <20081026121326.GA3399@codelibre.net>
URL: https://gitlist.dev/e/20081026121326.GA3399%40codelibre.net

```
A feature I would very much like to have in git is to have tag
information included in the log generated by git-log.  This would
make it easy to see where the tags are in the history.  The use
case for us would be to have release tags displayed so that it's
possible to identify which revisions constitute release points,
which is useful for e.g. users to identify points for bisection.

I can do it now using sed to substitute in the contents of
.git/refs/tags/*, but having the functionality in git-log directly
would be most useful.


Regards,
Roger Leigh


Example of existing log:

----------------------------------------------------------------------
commit 62dca2fc0e5e356ecb24ea0d8bd9f04980ab4cbe
Author: Roger Leigh <rleigh@debian.org>
Date:   Mon Oct 13 00:31:03 2008 +0100

    [Sbuild::Build] Add and use log_info, _warning and _error functions
----------------------------------------------------------------------

Example of log including tags:


----------------------------------------------------------------------
commit 62dca2fc0e5e356ecb24ea0d8bd9f04980ab4cbe
Author: Roger Leigh <rleigh@debian.org>
Date:   Mon Oct 13 00:31:03 2008 +0100
Tags: sbuild-0.60.1

    [Sbuild::Build] Add and use log_info, _warning and _error functions
----------------------------------------------------------------------


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.

```

## Mikael Magnusson, 2008-10-26 12:47

Subject: Re: Feature request: git-log should optionally include tags
Message-ID: <237967ef0810260547o4e2143e0jc9403da7b1f4d85a@mail.gmail.com>
URL: https://gitlist.dev/e/237967ef0810260547o4e2143e0jc9403da7b1f4d85a%40mail.gmail.com
In-Reply-To: <20081026121326.GA3399@codelibre.net>

```
2008/10/26 Roger Leigh <rleigh@whinlatter.ukfsn.org>:
> A feature I would very much like to have in git is to have tag
> information included in the log generated by git-log.  This would
> make it easy to see where the tags are in the history.  The use
> case for us would be to have release tags displayed so that it's
> possible to identify which revisions constitute release points,
> which is useful for e.g. users to identify points for bisection.
>
> I can do it now using sed to substitute in the contents of
> .git/refs/tags/*, but having the functionality in git-log directly
> would be most useful.

git log --decorate

-- 
Mikael Magnusson

```

## Roger Leigh, 2008-10-26 12:52

Subject: Re: Feature request: git-log should optionally include tags
Message-ID: <20081026125257.GA13933@codelibre.net>
URL: https://gitlist.dev/e/20081026125257.GA13933%40codelibre.net
In-Reply-To: <237967ef0810260547o4e2143e0jc9403da7b1f4d85a@mail.gmail.com>

```
On Sun, Oct 26, 2008 at 01:47:44PM +0100, Mikael Magnusson wrote:
> 2008/10/26 Roger Leigh <rleigh@whinlatter.ukfsn.org>:
> > A feature I would very much like to have in git is to have tag
> > information included in the log generated by git-log.  This would
> > make it easy to see where the tags are in the history.  The use
> > case for us would be to have release tags displayed so that it's
> > possible to identify which revisions constitute release points,
> > which is useful for e.g. users to identify points for bisection.
> >
> > I can do it now using sed to substitute in the contents of
> > .git/refs/tags/*, but having the functionality in git-log directly
> > would be most useful.
> 
> git log --decorate

Many thanks!


-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.

```
