Unverified Commit d05eda87 by Edward Thomson Committed by GitHub

Merge pull request #5835 from libgit2/cmn/branch-or-ref

repo: specify init.defaultbranch is meant to be a branch name
parents a1e5e268 631fe56f
......@@ -2401,7 +2401,7 @@ int git_repository_initialbranch(git_buf *out, git_repository *repo)
goto done;
if (!valid) {
git_error_set(GIT_ERROR_INVALID, "the value of init.defaultBranch is not a valid reference name");
git_error_set(GIT_ERROR_INVALID, "the value of init.defaultBranch is not a valid branch name");
error = -1;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment