Method: Rugged::Repository#head_unborn?

Defined in:
ext/rugged/rugged_repo.c

#head_unborn?Boolean

Return whether the current branch is unborn (HEAD points to a non-existent branch).

Returns:

  • (Boolean)
[View source]

1484
1485
1486
1487
# File 'ext/rugged/rugged_repo.c', line 1484

static VALUE rb_git_repo_head_unborn(VALUE self)
{
	RB_GIT_REPO_GETTER(head_unborn);
}