Commit fb3fc837c6e35075a7060d5702cf122f998d3aea

Edward Thomson 2017-06-12T11:45:09

repository_item_path: error messages lowercased

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
diff --git a/src/repository.c b/src/repository.c
index c7b40fd..9729d31 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;
 	}