mirror of
https://git.proxmox.com/git/libgit2
synced 2026-01-06 22:58:58 +00:00
repository_item_path: error messages lowercased
This commit is contained in:
parent
bd6928096d
commit
fb3fc837c6
@ -2266,12 +2266,12 @@ int git_repository_item_path(git_buf *out, git_repository *repo, git_repository_
|
||||
parent = git_repository_commondir(repo);
|
||||
break;
|
||||
default:
|
||||
giterr_set(GITERR_INVALID, "Invalid item directory");
|
||||
giterr_set(GITERR_INVALID, "invalid item directory");
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (parent == NULL) {
|
||||
giterr_set(GITERR_INVALID, "Path cannot exist in repository");
|
||||
giterr_set(GITERR_INVALID, "path cannot exist in repository");
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user