path: add a function to detect an .gitmodules file
Given a path component it knows what to pass to the filesystem-specific functions so we're protected even from trees which try to use the 8.3 naming rules to get around us matching on the filename exactly. The logic and test strings come from the equivalent git change.
Showing
tests/path/dotgit.c
0 → 100644
Please
register
or
sign in
to comment