git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git cat-file on a submodule
@ 2017-01-11  0:11 David Turner
  2017-01-11  0:25 ` Stefan Beller
  2017-01-11 12:53 ` Jeff King
  0 siblings, 2 replies; 5+ messages in thread
From: David Turner @ 2017-01-11  0:11 UTC (permalink / raw)
  To: git

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.




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

end of thread, other threads:[~2017-01-11 18:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-11  0:11 git cat-file on a submodule David Turner
2017-01-11  0:25 ` Stefan Beller
2017-01-11 12:53 ` Jeff King
2017-01-11 18:21   ` David Turner
2017-01-11 18:56   ` Junio C Hamano

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).