Re: [git-users] git cat-file on a submodule results in fatal error

2017-06-09 Thread Michael Butler
That makes a lot sense. It would be nice, IMHO, if everything listed in ls-tree were able to be cat-file'd, but I understand why it's not. Thanks so much for the direction! On Thursday, June 8, 2017 at 4:20:56 PM UTC-4, Philip Oakley wrote: > > I've just had a quick skim of the question. > > T

Re: [git-users] git cat-file on a submodule results in fatal error

2017-06-08 Thread Philip Oakley
I've just had a quick skim of the question. The reply that the submodule is recoreded as if it is a commit within a tree is correct. The mode (IIRC) should be 16000 as well (can be googled for. What is wrong is the assumption that you can dig beyond that point. The returned sha1 is for a commit