rwjblue / git-repo-info

MIT License
112 stars 28 forks source link

Fixed issue with finding submodule repo when gitPath is specified #35

Closed Emrvb closed 7 years ago

Emrvb commented 7 years ago

Ran into this issue in a project where I want to include submodule commit information.

Issue occured when the local submodule repository is stored in a parents git directory (.git/modules) and the current working directory is a parent of the submodule working directory.

rwjblue commented 7 years ago

Thank you!