Create a new Git repository in the given folder with extended controls.
This will initialize a new git repository (creating the repo_path
if requested by flags) and working directory as needed. It will
auto-detect the case sensitivity of the file system and if the
file system supports file mode bits correctly.
@param out_ Pointer to the repo which will be created or reinitialized.
@param repo_path The path to the repository.
@param opts Pointer to git_repository_init_options struct.
@return 0 or an error code on failure.
Create a new Git repository in the given folder with extended controls.
This will initialize a new git repository (creating the repo_path if requested by flags) and working directory as needed. It will auto-detect the case sensitivity of the file system and if the file system supports file mode bits correctly.
@param out_ Pointer to the repo which will be created or reinitialized. @param repo_path The path to the repository. @param opts Pointer to git_repository_init_options struct. @return 0 or an error code on failure.