diff options
| author | Vicent Martà <vicent@github.com> | 2013-09-17 03:45:35 -0700 |
|---|---|---|
| committer | Vicent Martà <vicent@github.com> | 2013-09-17 03:45:35 -0700 |
| commit | efc9e6700fabc91ea490fcc5ea034b51648c9e88 (patch) | |
| tree | 08f13e7c4f17a3e35f7342d51363441833ac59f4 /src/status.c | |
| parent | 38fba8371e4c6c0042645a8bf2ba4aa2f2cdf730 (diff) | |
| parent | 605da51a2cfd86901b6fa5f9cf71111a63ab4418 (diff) | |
| download | libgit2-efc9e6700fabc91ea490fcc5ea034b51648c9e88.tar.gz | |
Merge pull request #1856 from libgit2/cmn/no-orphans
No such thing as an orphan branch
Diffstat (limited to 'src/status.c')
| -rw-r--r-- | src/status.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/status.c b/src/status.c index 4a0d65092..be40b9f83 100644 --- a/src/status.c +++ b/src/status.c @@ -252,7 +252,7 @@ int git_status_list_new( /* if there is no HEAD, that's okay - we'll make an empty iterator */ if (((error = git_repository_head_tree(&head, repo)) < 0) && - error != GIT_ENOTFOUND && error != GIT_EORPHANEDHEAD) { + error != GIT_ENOTFOUND && error != GIT_EUNBORNBRANCH) { git_index_free(index); /* release index */ return error; } |
