[Bug] for-each-ref: %(object) and %(type) unimplemented

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Lea Wiemann
Date: Wednesday, June 25, 2008 - 8:01 am

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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[Bug] for-each-ref: %(object) and %(type) unimplemented, Lea Wiemann, (Wed Jun 25, 8:01 am)
Re: [Bug] for-each-ref: %(object) and %(type) unimplemented, Mikael Magnusson, (Wed Jun 25, 12:08 pm)
Re: [Bug] for-each-ref: %(object) and %(type) unimplemented, Junio C Hamano, (Wed Jun 25, 12:38 pm)
Re: [Bug] for-each-ref: %(object) and %(type) unimplemented, Mikael Magnusson, (Wed Jun 25, 1:36 pm)
[PATCH 1/2] improve for-each-ref test script, Jeff King, (Wed Jun 25, 10:37 pm)