diff options
Diffstat (limited to 'examples/status.c')
-rw-r--r-- | examples/status.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/status.c b/examples/status.c index 689098415..0d9f55f13 100644 --- a/examples/status.c +++ b/examples/status.c @@ -71,7 +71,7 @@ static void show_branch(git_repository *repo, int format) error = git_repository_head(&head, repo); - if (error == GIT_EORPHANEDHEAD || error == GIT_ENOTFOUND) + if (error == GIT_EUNBORNBRANCH || error == GIT_ENOTFOUND) branch = NULL; else if (!error) { branch = git_reference_name(head); |