schacon/ruby-git — pull request #81 by thomasbiddle (2013-06-14 14:56:53+00:00)
Title: Support Submodules

When a submodule is cloned into another project, it has a different structure:

The .git folder is well, not a folder, it is a file that's sole contents
include a reference to where the .git folder for the submodule is on the
local drive.

Take that information from the .git *file* and then build our repository
and index location out of this.