Remove GIT_FILEMODE_NEW as it's unused. And use 0 for GIT_FILEMODE_UNREADABLE.
diff --git a/include/git2/types.h b/include/git2/types.h
index 3b6e610..46dfd8b 100644
--- a/include/git2/types.h
+++ b/include/git2/types.h
@@ -198,12 +198,11 @@ typedef enum {
/** Valid modes for index and tree entries. */
typedef enum {
- GIT_FILEMODE_NEW = 0000000,
+ GIT_FILEMODE_UNREADABLE = 0000000,
GIT_FILEMODE_TREE = 0040000,
GIT_FILEMODE_BLOB = 0100644,
GIT_FILEMODE_BLOB_EXECUTABLE = 0100755,
GIT_FILEMODE_LINK = 0120000,
- GIT_FILEMODE_UNREADABLE = 0130000,
GIT_FILEMODE_COMMIT = 0160000,
} git_filemode_t;