git-sync v2.0.5 on grav v1.6.9 - have not yet tested newer versions.
When keeping my whole grav instance in git, I must use a submodule for the user directory so that git-sync is able to operate.
However, certain changes in the admin panel (such as configuration of git-sync itself) drives git-sync to try to create or access '/.git/info/sparse-checkout' - see git-sync/classes/GitSync.php line 142:
git-sync v2.0.5 on grav v1.6.9 - have not yet tested newer versions.
When keeping my whole grav instance in git, I must use a submodule for the user directory so that git-sync is able to operate.
However, certain changes in the admin panel (such as configuration of git-sync itself) drives git-sync to try to create or access '/.git/info/sparse-checkout' - see git-sync/classes/GitSync.php line 142:
This is bad behavior. In the case of git submodules, .git is a file and not a directory. For example, mine contains the text:
Please consider checking if
.git
is a file, and if it is checking forgitdir:
and following that path for this operation, instead.