summaryrefslogtreecommitdiff
path: root/src/commit.c
diff options
context:
space:
mode:
authorTobias Nießen <tniessen@tnie.de>2020-01-15 12:58:59 -0400
committerTobias Nießen <tniessen@tnie.de>2020-01-15 12:58:59 -0400
commit5e1b6eaff1f3d84146bd966dbd2b6b20ad70fab9 (patch)
tree65b2afb594336ac06ce02658b0c4cb4bb7a2f394 /src/commit.c
parentcc4f4cbea48ac00a5edec1b3570ac3d2ef10fe77 (diff)
downloadlibgit2-5e1b6eaff1f3d84146bd966dbd2b6b20ad70fab9.tar.gz
Make type mismatch errors consistent
Diffstat (limited to 'src/commit.c')
-rw-r--r--src/commit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commit.c b/src/commit.c
index aca65ff2d..cf9902d02 100644
--- a/src/commit.c
+++ b/src/commit.c
@@ -753,7 +753,7 @@ int git_commit_extract_signature(git_buf *signature, git_buf *signed_data, git_r
return error;
if (obj->cached.type != GIT_OBJECT_COMMIT) {
- git_error_set(GIT_ERROR_INVALID, "the requested type does not match the type in ODB");
+ git_error_set(GIT_ERROR_INVALID, "the requested type does not match the type in the ODB");
error = GIT_ENOTFOUND;
goto cleanup;
}