Looks for a git repository.
The lookup starts from path
and walks up the parent directories and stops when a repository is found.
location |
the base location where the lookup starts. |
across_fs |
indictaes whether lookup will work across filesystem devices. |
ceiling_dirs |
a list of absolute paths at which lookup will stop when reached, or null. |
the repository location. |