GitInfo for content in separate .git repository (submodule)

I would like to be able to use GitInfo functions for a site where content is a .git submodule.

To be more concrete, I would like to be able to set the repoPath to the path where the submodule is located (e.g. /content).

Would it be possible to make GitInfo slightly more flexible - or be able to accept some params to accommodate a case like this?

Sure it is possible, but you would have to create an issue on

Thanks for the reply. Issue 3215 has been posted.

1 Like

A post was split to a new topic: Last modified from gitinfo