diff options
| author | Tobias Nießen <tniessen@tnie.de> | 2020-01-15 12:58:59 -0400 |
|---|---|---|
| committer | Tobias Nießen <tniessen@tnie.de> | 2020-01-15 12:58:59 -0400 |
| commit | 5e1b6eaff1f3d84146bd966dbd2b6b20ad70fab9 (patch) | |
| tree | 65b2afb594336ac06ce02658b0c4cb4bb7a2f394 /src/object.c | |
| parent | cc4f4cbea48ac00a5edec1b3570ac3d2ef10fe77 (diff) | |
| download | libgit2-5e1b6eaff1f3d84146bd966dbd2b6b20ad70fab9.tar.gz | |
Make type mismatch errors consistent
Diffstat (limited to 'src/object.c')
| -rw-r--r-- | src/object.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object.c b/src/object.c index 8559de1c6..1b47ab1a6 100644 --- a/src/object.c +++ b/src/object.c @@ -201,7 +201,7 @@ int git_object_lookup_prefix( if (type != GIT_OBJECT_ANY && type != object->cached.type) { git_object_free(object); git_error_set(GIT_ERROR_INVALID, - "the requested type does not match the type in ODB"); + "the requested type does not match the type in the ODB"); return GIT_ENOTFOUND; } |
