diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2018-11-14 22:48:10 +0000 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2018-12-01 10:44:16 +0000 |
commit | 26b21b391235e708ae41751a5b8d2743af0194fb (patch) | |
tree | d42fa7aa31ef8d1ea50c459f482d3bcb32fcb950 /include | |
parent | 7e7859a15a65df17fc7e59d75492a5227402490f (diff) | |
download | libgit2-26b21b391235e708ae41751a5b8d2743af0194fb.tar.gz |
object_type: remove unused object type flags
The two "reserved" bits in `git_object_t` are unused. They were
included for completeness, but downstream users should never use them
and they should not have been made public.
These values are never set.
With the refactoring of `git_otype` into `git_object_t`, we can remove
these from the new API. They will remain in the old (deprecated) API
in the unlikely event that someone was using them.
Diffstat (limited to 'include')
-rw-r--r-- | include/git2/types.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/git2/types.h b/include/git2/types.h index 7d0734e07..2074ca934 100644 --- a/include/git2/types.h +++ b/include/git2/types.h @@ -70,12 +70,10 @@ typedef int64_t git_time_t; typedef enum { GIT_OBJECT_ANY = -2, /**< Object can be any of the following */ GIT_OBJECT_BAD = -1, /**< Object is invalid. */ - GIT_OBJECT__EXT1 = 0, /**< Reserved. */ GIT_OBJECT_COMMIT = 1, /**< A commit object. */ GIT_OBJECT_TREE = 2, /**< A tree (directory listing) object. */ GIT_OBJECT_BLOB = 3, /**< A file revision object. */ GIT_OBJECT_TAG = 4, /**< An annotated tag object. */ - GIT_OBJECT__EXT2 = 5, /**< Reserved. */ GIT_OBJECT_OFS_DELTA = 6, /**< A delta, base is given by an offset. */ GIT_OBJECT_REF_DELTA = 7, /**< A delta, base is given by object id. */ } git_object_t; |