Commit 3cd04235095aa7bdcf00df666cae3920964aec22

Stefan Sperling 2019-08-03T14:30:02

fix definition of GOT_FILEIDX_F_STAGE_SHIFT

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/lib/fileindex.c b/lib/fileindex.c
index dbf735c..2e2def1 100644
--- a/lib/fileindex.c
+++ b/lib/fileindex.c
@@ -38,7 +38,7 @@
 /* got_fileindex_entry flags */
 #define GOT_FILEIDX_F_PATH_LEN		0x00000fff
 #define GOT_FILEIDX_F_STAGE		0x0000f000
-#define GOT_FILEIDX_F_STAGE_SHIFT	24
+#define GOT_FILEIDX_F_STAGE_SHIFT	12
 #define GOT_FILEIDX_F_NOT_FLUSHED	0x00010000
 #define GOT_FILEIDX_F_NO_BLOB		0x00020000
 #define GOT_FILEIDX_F_NO_COMMIT		0x00040000