Method

GgitRepositoryset_submodule_update

Declaration [src]

void
ggit_repository_set_submodule_update (
  GgitRepository* repository,
  const gchar* name,
  GgitSubmoduleUpdate update,
  GError** error
)

Description [src]

Sets the update rule for the submodule in the configuration. This setting won’t affect any existing instances.

Parameters

name const gchar*
 

The name of the submodule.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
update GgitSubmoduleUpdate
 

A GgitSubmoduleUpdate.

error GError **
  The return location for a GError*, or NULL.