All of lore.kernel.org
 help / color / mirror / Atom feed
* Fully peel tags via for-each-ref?
@ 2019-08-19 23:22 Bryan Turner
  2019-08-20  5:50 ` Junio C Hamano
  0 siblings, 1 reply; 6+ messages in thread
From: Bryan Turner @ 2019-08-19 23:22 UTC (permalink / raw)
  To: Git Users

When running "git for-each-ref", it's possible to use %(*objectname)
to get the SHA of the object a tag is tagging, and %(*objecttype) to
get the type. However, in the case of an annotated tag of an annotated
tag, this still isn't "fully" peeled--%(*objectname) is the tagged
tag's SHA.

Is there any way, with "git for-each-ref", to output the "fully"
peeled SHA of a tag's ultimate target, regardless of how many layers
must be traversed?

Best regards,
Bryan Turner

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-08-22  4:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-19 23:22 Fully peel tags via for-each-ref? Bryan Turner
2019-08-20  5:50 ` Junio C Hamano
2019-08-20 21:39   ` Bryan Turner
2019-08-21 23:00   ` Jeff King
2019-08-22  3:07     ` Junio C Hamano
2019-08-22  4:24       ` Jeff King

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.