kynikos / repocheck

Check the status of code repositories under a root directory.
GNU General Public License v3.0
2 stars 0 forks source link

.git does not have to be a directory #1

Open lahwaacz opened 9 years ago

lahwaacz commented 9 years ago

E.g. when ./lib/ini_parser is a submodule of a git repo denoted as ./, then ./lib/ini_parser/.git is a file which contains

gitdir: ../../.git/modules/lib/ini_parser

There might be also some other less common examples.

kynikos commented 9 years ago

While I (or somebody else) try to find the time to implement this, an untested workaround could be to add symbolic links to the submodule repos paths in the project root, and then run repocheck with the -l option.