From: David Turner <novalis@novalis.org>
To: git@vger.kernel.org
Subject: git cat-file on a submodule
Date: Tue, 10 Jan 2017 19:11:40 -0500 [thread overview]
Message-ID: <1484093500.17967.6.camel@frank> (raw)
Why does git cat-file -t $sha:foo, where foo is a submodule, not work?
git rev-parse $sha:foo works.
By "why", I mean "would anyone complain if I fixed it?" FWIW, I think
-p should just return the submodule's sha.
next reply other threads:[~2017-01-11 0:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-11 0:11 David Turner [this message]
2017-01-11 0:25 ` git cat-file on a submodule Stefan Beller
2017-01-11 12:53 ` Jeff King
2017-01-11 18:21 ` David Turner
2017-01-11 18:56 ` 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=1484093500.17967.6.camel@frank \
--to=novalis@novalis.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).