libgit2

submodule

Version:

Submodule support in libgit2 builds a list of known submodules and keeps it in the repository. The list is built from the .gitmodules file, the .git/config file, the index, and the HEAD tree. Items in the working directory that look like submodules (i.e. a git repo) but are not mentioned in those places won't be tracked.

Objects

Opaque structure representing a submodule

Macros

Enums

Return codes for submodule status

Submodule update values

Submodule ignore values

Functions

Lookup submodule information by name or path

Iterate over all tracked submodules of a repository

Set up a new git submodule for checkout

Resolve the setup of a new git submodule

Add current submodule HEAD commit to index of superproject

Write submodule settings to

Get the containing repository for a submodule

Get the name of submodule

Get the path to the submodule

Get the URL for the submodule

Set the URL for the submodule

Get the OID for the submodule in the index

Get the OID for the submodule in the current HEAD tree

Get the OID for the submodule in the current working directory

Get the ignore rule that will be used for the submodule

Set the ignore rule for the submodule

Get the update rule that will be used for the submodule

Set the update rule for the submodule

Read the fetchRecurseSubmodules rule for a submodule

Set the fetchRecurseSubmodules rule for a submodule

Copy submodule info into "

Copy submodule remote info into submodule repo

Open the repository for a submodule

Reread submodule info from config, index, and HEAD

Reread all submodule info

Get the status for a submodule

Get the locations of submodule information