threads / discuss / 31948

How to get submodule information for a specific commit

Subject: How to get submodule information for a specific commit

## tl;dr

One message between Oct 26, 2012 and Oct 26, 2012.

replies: 0people: 1as markdown or json

Francis Moreau· Oct 26, 2012, 10:05 UTC · lore
Hi,

I'd like to get information about the submodule commits used by a given super project commit.

The information I'm looking for is quite similar than the one you can get with "git submodule status" but for any revs not only the current head of the super project.

Someone on #git kindly suggested me to use git-ls-tree, but I'm wondering if an option or a new command to git-submodule could be added to achieve that.

Thanks
-- 
Francis

← back to recent threads