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/stash.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/stash.c')
| -rw-r--r-- | src/stash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stash.c b/src/stash.c index 48f19144d..ab4a68575 100644 --- a/src/stash.c +++ b/src/stash.c @@ -27,7 +27,7 @@ static int retrieve_head(git_reference **out, git_repository *repo) { int error = git_repository_head(out, repo); - if (error == GIT_EORPHANEDHEAD) + if (error == GIT_EUNBORNBRANCH) return create_error(error, "You do not have the initial commit yet."); return error; |
