I have some repos on my server with gitosis. One of them is Main, it's including all the others. I work with them from my local machine, and submodules hierarchy was built on my local machine. Gitosis has repos as bare(?) so, it's impossible to include submodules on the server. Problem is, Main repo has a bare clone for Redmine (project management. Redmine shows stats, commits' and files' history. It also lets to write reflinks to commits or files or file's revision straight in wiki). But when files are placed in submodules, redmine cannot access them. So, how to make submodule stats visible in a bare repo?
=== upd ===
I'm not sure my submodules are always included. Redmine uses a clone of a bare repo and always can show stats for any file, but submodules are shown as files with 0 size. I've already tried default scheme git@123.456.789.001:Main.git
and now ssh://git@123.456.789.001/Main.git
submodules are still shown like zero-length files.
git-status
works fine and shows unpushed commits from submodules, but repos are files, though. This is strange, but redmine now shows commits from submodules but in its own weird way, look at this:
Now I'll try to create a subproject per every submodule, maybe then it will be referencing as it should be. http://www.redmine.org/issues/3169 is totally related.