Commit fb3fc837 by Edward Thomson

repository_item_path: error messages lowercased

parent bd692809
...@@ -2266,12 +2266,12 @@ int git_repository_item_path(git_buf *out, git_repository *repo, git_repository_ ...@@ -2266,12 +2266,12 @@ int git_repository_item_path(git_buf *out, git_repository *repo, git_repository_
parent = git_repository_commondir(repo); parent = git_repository_commondir(repo);
break; break;
default: default:
giterr_set(GITERR_INVALID, "Invalid item directory"); giterr_set(GITERR_INVALID, "invalid item directory");
return -1; return -1;
} }
if (parent == NULL) { if (parent == NULL) {
giterr_set(GITERR_INVALID, "Path cannot exist in repository"); giterr_set(GITERR_INVALID, "path cannot exist in repository");
return -1; return -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