summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2017-06-12 11:45:09 +0100
committerEdward Thomson <ethomson@edwardthomson.com>2017-06-12 11:45:09 +0100
commitfb3fc837c6e35075a7060d5702cf122f998d3aea (patch)
treed77ebfcddefe34cea4684d929f8d7aed1d8e08da
parentbd6928096d7a4c8f26b55a1e9ec710faeee7db93 (diff)
downloadlibgit2-fb3fc837c6e35075a7060d5702cf122f998d3aea.tar.gz
repository_item_path: error messages lowercased
-rw-r--r--src/repository.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/repository.c b/src/repository.c
index c7b40fdf7..9729d3197 100644
--- a/src/repository.c
+++ b/src/repository.c
@@ -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;
}