Commit 9714e35f37d138ec783d6814c4becce70454ea7f

Stefan Sperling 2019-08-03T11:36:03

remove unused fileindex flags

diff --git a/lib/fileindex.c b/lib/fileindex.c
index d12affd..19f400a 100644
--- a/lib/fileindex.c
+++ b/lib/fileindex.c
@@ -37,9 +37,6 @@
 
 /* got_fileindex_entry flags */
 #define GOT_FILEIDX_F_PATH_LEN		0x00000fff
-#define GOT_FILEIDX_F_STAGE		0x00003000
-#define GOT_FILEIDX_F_EXTENDED		0x00004000
-#define GOT_FILEIDX_F_ASSUME_VALID	0x00008000
 #define GOT_FILEIDX_F_NOT_FLUSHED	0x00010000
 #define GOT_FILEIDX_F_NO_BLOB		0x00020000
 #define GOT_FILEIDX_F_NO_COMMIT		0x00040000
diff --git a/lib/got_lib_fileindex.h b/lib/got_lib_fileindex.h
index f1d4506..f9c7966 100644
--- a/lib/got_lib_fileindex.h
+++ b/lib/got_lib_fileindex.h
@@ -56,16 +56,8 @@ struct got_fileindex_entry {
 	 */
 	char *path;
 	size_t path_len; /* strlen(path) -- kept in memory only! */
-
-	/* More data could be here if F_EXTENDED is set; To be determined... */
 };
 
-/* "Stages" of a file afflicted by a 3-way merge conflict. */
-#define GOT_FILEIDX_STAGE_MERGED	0
-#define GOT_FILEIDX_STAGE_ANCESTOR	1
-#define GOT_FILEIDX_STAGE_OURS		2
-#define GOT_FILEIDX_STAGE_THEIRS	3
-
 struct got_fileindex;
 
 RB_HEAD(got_fileindex_tree, got_fileindex_entry);