On Mon, Aug 16, 2010 at 21:19, Guillermo <guillermog@xxxxxxxxxxxxxx> wrote: > Hello, > > I want to write a script what checks in all my projects which is the submodule > commit that is registered in every git repo. > > Lets say we have the following structure: > > project1 > - submodule1 > project2 > - submodule1 > > I want to find out what file within the .git dir of every project contains the > proper submodule Commit ID that should be checkout with git submodule update. That ID is stored in a tree object, See e.g. git-ls-tree for how to get it. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html