Method

GgitRepositoryset_head_detached

Declaration [src]

gboolean
ggit_repository_set_head_detached (
  GgitRepository* repository,
  GgitOId* oid,
  GError** error
)

Description

No description available.

Parameters

oid GgitOId
 

Canonical Object id of the Commit the HEAD should point to.

 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 head was successfully set, FALSE otherwise.