Commit a777fc378583ca88f860c1d770bb959c25bec276

Alan Rogers 2014-05-30T16:21:13

Remove GIT_FILEMODE_NEW as it's unused. And use 0 for GIT_FILEMODE_UNREADABLE.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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;