From: Thomas Rast <trast@student.ethz.ch>
To: Jeff King <peff@peff.net>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
Michael J Gruber <git@drmicha.warpmail.net>,
dloewenherz@gmail.com, git@vger.kernel.org
Subject: Re: Pretty date option for git tag?
Date: Mon, 18 May 2009 23:11:37 +0200 [thread overview]
Message-ID: <200905182311.41876.trast@student.ethz.ch> (raw)
In-Reply-To: <20090518174547.GA14509@sigill.intra.peff.net>
[-- Attachment #1: Type: text/plain, Size: 417 bytes --]
Jeff King wrote:
> It seems like you should be able to script around for-each-ref and
> remain efficient, but I don't think there is a way to convince it to
> dereference tags.
Actually there's the * operator. For example
git$ git for-each-ref --format="%(objecttype) %(*objecttype)" refs/tags/v1.6.0
tag commit
Does that solve the problem at hand?
--
Thomas Rast
trast@{inf,student}.ethz.ch
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
next prev parent reply other threads:[~2009-05-18 21:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-18 15:14 Pretty date option for git tag? dloewenherz
2009-05-18 16:02 ` Michael J Gruber
2009-05-18 17:20 ` Linus Torvalds
2009-05-18 17:45 ` Jeff King
2009-05-18 17:58 ` [PATCH] for-each-ref: fix segfault in copy_email Jeff King
2009-05-18 21:11 ` Thomas Rast [this message]
2009-05-18 21:27 ` Pretty date option for git tag? Jeff King
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=200905182311.41876.trast@student.ethz.ch \
--to=trast@student.ethz.ch \
--cc=dloewenherz@gmail.com \
--cc=git@drmicha.warpmail.net \
--cc=git@vger.kernel.org \
--cc=peff@peff.net \
--cc=torvalds@linux-foundation.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).