Method

GgitRepositoryis_head_detached

Declaration [src]

gboolean
ggit_repository_is_head_detached (
  GgitRepository* repository
  GError** error
)

Description [src]

Checks if repositorys HEAD is detached.

A repository’s HEAD is detached when it points directly to a commit instead of a branch.

Return value

Returns: gboolean
 

TRUE if HEAD is detached.