Method

GgitRepositorycherry_pick

Declaration [src]

gboolean
ggit_repository_cherry_pick (
  GgitRepository* repository,
  GgitCommit* commit,
  GgitCherryPickOptions* options,
  GError** error
)

Description [src]

Cherry pick the specified commit, making changes in the index and the working directory.

Parameters

commit GgitCommit
 

A GgitCommit.

 The data is owned by the caller of the function.
options GgitCherryPickOptions
 

A GgitCherryPickOptions.

 The data is owned by the caller of the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

TRUE if the commit was cherry-picked successfully, FALSE otherwise.