@@ -69,7 +69,7 @@ typedef int64_t git_time_t;
6969/** Basic type (loose or packed) of any Git object. */
7070typedef enum {
7171 GIT_OBJECT_ANY = -2 , /**< Object can be any of the following */
72- GIT_OBJECT_BAD = -1 , /**< Object is invalid. */
72+ GIT_OBJECT_INVALID = -1 , /**< Object is invalid. */
7373 GIT_OBJECT_COMMIT = 1 , /**< A commit object. */
7474 GIT_OBJECT_TREE = 2 , /**< A tree (directory listing) object. */
7575 GIT_OBJECT_BLOB = 3 , /**< A file revision object. */
@@ -450,16 +450,16 @@ typedef struct git_mailmap git_mailmap;
450450
451451/**@{*/
452452
453- #define GIT_OBJ_ANY GIT_OBJECT_ANY
454- #define GIT_OBJ_BAD GIT_OBJECT_BAD
455- #define GIT_OBJ__EXT1 0
456- #define GIT_OBJ_COMMIT GIT_OBJECT_COMMIT
457- #define GIT_OBJ_TREE GIT_OBJECT_TREE
458- #define GIT_OBJ_BLOB GIT_OBJECT_BLOB
459- #define GIT_OBJ_TAG GIT_OBJECT_TAG
460- #define GIT_OBJ__EXT2 5
461- #define GIT_OBJ_OFS_DELTA GIT_OBJECT_OFS_DELTA
462- #define GIT_OBJ_REF_DELTA GIT_OBJECT_REF_DELTA
453+ GIT_DEPRECATED ( static const int ) GIT_OBJ_ANY = GIT_OBJECT_ANY ;
454+ GIT_DEPRECATED ( static const int ) GIT_OBJ_BAD = GIT_OBJECT_INVALID ;
455+ GIT_DEPRECATED ( static const int ) GIT_OBJ__EXT1 = 0 ;
456+ GIT_DEPRECATED ( static const int ) GIT_OBJ_COMMIT = GIT_OBJECT_COMMIT ;
457+ GIT_DEPRECATED ( static const int ) GIT_OBJ_TREE = GIT_OBJECT_TREE ;
458+ GIT_DEPRECATED ( static const int ) GIT_OBJ_BLOB = GIT_OBJECT_BLOB ;
459+ GIT_DEPRECATED ( static const int ) GIT_OBJ_TAG = GIT_OBJECT_TAG ;
460+ GIT_DEPRECATED ( static const int ) GIT_OBJ__EXT2 = 5 ;
461+ GIT_DEPRECATED ( static const int ) GIT_OBJ_OFS_DELTA = GIT_OBJECT_OFS_DELTA ;
462+ GIT_DEPRECATED ( static const int ) GIT_OBJ_REF_DELTA = GIT_OBJECT_REF_DELTA ;
463463
464464#define git_otype git_object_t
465465
0 commit comments