From cd350852206481e984f7847a903de8d350ad7bf1 Mon Sep 17 00:00:00 2001 From: Edward Thomson Date: Thu, 17 Jan 2019 10:40:13 +0000 Subject: object_type: GIT_OBJECT_BAD is now GIT_OBJECT_INVALID We use the term "invalid" to refer to bad or malformed data, eg `GIT_REF_INVALID` and `GIT_EINVALIDSPEC`. Since we're changing the names of the `git_object_t`s in this release, update it to be `GIT_OBJECT_INVALID` instead of `BAD`. --- src/object.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/object.h') diff --git a/src/object.h b/src/object.h index 95a7e2c12..227a6fdd5 100644 --- a/src/object.h +++ b/src/object.h @@ -62,7 +62,7 @@ GIT_INLINE(git_object_t) git_object__type_from_filemode(git_filemode_t mode) case GIT_FILEMODE_LINK: return GIT_OBJECT_BLOB; default: - return GIT_OBJECT_BAD; + return GIT_OBJECT_INVALID; } } -- cgit v1.2.1