git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Lea Wiemann <lewiemann@gmail.com>
To: Git Mailing List <git@vger.kernel.org>
Subject: [Bug] for-each-ref: %(object) and %(type) unimplemented
Date: Wed, 25 Jun 2008 17:01:01 +0200	[thread overview]
Message-ID: <48625DAD.5040404@gmail.com> (raw)

Try the following on a repository with tag objects in it:

git for-each-ref --format='%(object)'
git for-each-ref --format='%(type)'

Each command prints only newlines.  The %(type) and %(object) options 
are not rejected with an error message (like "%(doesnotexist)"), but 
they don't seem to be implemented.  "%(tag)" works though.

Anyone care to implement the missing options?  Or should they rather be 
removed from the documentation?

-- Lea

             reply	other threads:[~2008-06-25 15:02 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-25 15:01 Lea Wiemann [this message]
2008-06-25 16:08 ` [Bug] for-each-ref: %(object) and %(type) unimplemented Jeff King
2008-06-25 16:14   ` Jeff King
2008-06-25 19:08     ` Mikael Magnusson
2008-06-25 19:38       ` Junio C Hamano
2008-06-25 20:36         ` Mikael Magnusson
2008-06-26  5:35     ` Jeff King
2008-06-26  5:37       ` [PATCH 1/2] improve for-each-ref test script Jeff King
2008-06-26  5:38       ` [PATCH 2/2] for-each-ref: implement missing tag values Jeff King
2008-06-26  8:08       ` [Bug] for-each-ref: %(object) and %(type) unimplemented Jeff King
2008-06-26  8:21         ` Junio C Hamano

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=48625DAD.5040404@gmail.com \
    --to=lewiemann@gmail.com \
    --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).