Method

GgitRepositoryadd_remote_fetch

Declaration [src]

void
ggit_repository_add_remote_fetch (
  GgitRepository* repository,
  GgitRemote* remote,
  const gchar* refspec,
  GError** error
)

Description [src]

Adds a fetch refspec to the remotes configuration. Adds refspec to the fetch list in the configuration. No loaded remote instances will be affected.

Parameters

remote GgitRemote
 

A GgitRemote.

 The data is owned by the caller of the function.
refspec const gchar*
 

The fetch refspec.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
error GError **
  The return location for a GError*, or NULL.