git_repository_head_unborn

Check if the current branch is unborn

An unborn branch is one named from HEAD but which doesn't exist in the refs namespace, because it doesn't have any commit to point to.

@param repo Repo to test @return 1 if the current branch is unborn, 0 if it's not; error code if there was an error

extern (C) nothrow @nogc
int
git_repository_head_unborn

Meta