git_repository_reinit_filesystem

Update the filesystem config settings for an open repository

When a repository is initialized, config values are set based on the properties of the filesystem that the repository is on, such as "core.ignorecase", "core.filemode", "core.symlinks", etc. If the repository is moved to a new filesystem, these properties may no longer be correct and API calls may not behave as expected. This call reruns the phase of repository initialization that sets those properties to compensate for the current filesystem of the repo.

@param repo A repository object @param recurse_submodules Should submodules be updated recursively @return 0 on success, < 0 on error

package extern (C) nothrow @nogc
int
git_repository_reinit_filesystem

Meta