git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Roger Leigh" <rleigh@whinlatter.ukfsn.org>
To: git@vger.kernel.org
Subject: Feature request: git-log should optionally include tags
Date: Sun, 26 Oct 2008 12:13:26 +0000	[thread overview]
Message-ID: <20081026121326.GA3399@codelibre.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 1625 bytes --]

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.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

             reply	other threads:[~2008-10-26 12:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-26 12:13 Roger Leigh [this message]
2008-10-26 12:47 ` Feature request: git-log should optionally include tags Mikael Magnusson
2008-10-26 12:52   ` Roger Leigh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081026121326.GA3399@codelibre.net \
    --to=rleigh@whinlatter.ukfsn.org \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).