git_submodule_clone

Perform the clone step for a newly created submodule.

This performs the necessary git_clone to setup a newly-created submodule.

Parameters

out_ libgit2_d.types.git_repository**

The newly created repository object. Optional.

submodule libgit2_d.types.git_submodule*

The submodule currently waiting for its clone.

opts const(.git_submodule_update_options)*

The options to use.

Return Value

Type: int

0 on success, -1 on other errors (see git_clone).

Meta