Skip to content

Commit fb3fc83

Browse files
committed
repository_item_path: error messages lowercased
1 parent bd69280 commit fb3fc83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/repository.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2266,12 +2266,12 @@ int git_repository_item_path(git_buf *out, git_repository *repo, git_repository_
22662266
parent = git_repository_commondir(repo);
22672267
break;
22682268
default:
2269-
giterr_set(GITERR_INVALID, "Invalid item directory");
2269+
giterr_set(GITERR_INVALID, "invalid item directory");
22702270
return -1;
22712271
}
22722272

22732273
if (parent == NULL) {
2274-
giterr_set(GITERR_INVALID, "Path cannot exist in repository");
2274+
giterr_set(GITERR_INVALID, "path cannot exist in repository");
22752275
return -1;
22762276
}
22772277

0 commit comments

Comments
 (0)